Commit Graph

9435 Commits

Author SHA1 Message Date
Lukas Eder
fc343ce488 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] ROUND 2020-12-14 22:00:24 +01:00
Lukas Eder
69498b8034 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] WIDTH_BUCKET 2020-12-14 21:20:01 +01:00
Lukas Eder
7f90a92b63 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] RAND 2020-12-14 21:03:55 +01:00
Lukas Eder
a59fe42c49 [jOOQ/jOOQ#11126] Avoid calling AbstractQueryPart::equals
- Slight improvement to AbstractName::equals
- Function.equals(Function)
- QueryPartCollectionView.equals(QueryPartCollectionView)
- SequenceFunction.equals(SequenceFunction)
- SequenceImpl.equals(SequenceImpl)
- TableAlias.equals(TableAlias)
2020-12-14 17:40:12 +01:00
Lukas Eder
8be226cac3 [jOOQ/jOOQ#11126] Avoid calling AbstractQueryPart::equals
- AbstractStoreQuery.UnknownField
- Merge QualifiedField into TableFieldImpl
2020-12-14 16:19:54 +01:00
Lukas Eder
56235d7c2a [jOOQ/jOOQ#11125] Let AbstractQueryPart::configuration return Tools.CTX::configuration 2020-12-14 15:17:11 +01:00
Lukas Eder
ba18c30c1e Re-generated code 2020-12-14 12:45:22 +01:00
Lukas Eder
c67da36141 [jOOQ/jOOQ#11116] Workaround for https://stackoverflow.com/a/47105843/521799 2020-12-14 12:45:15 +01:00
Lukas Eder
9071ec2335 [jOOQ/jOOQ#11123] Add Settings.mapConstructorProperties to allow for opting out of reading the ConstructorProperties annotation in DefaultRecordMapper 2020-12-14 12:15:52 +01:00
Lukas Eder
98e4f3b7d8 [jOOQ/jOOQ#11118] Java 6 fix 2020-12-14 11:22:45 +01:00
Lukas Eder
2ef99c85d0 [jOOQ/jOOQ#11118] Java 6 fix 2020-12-14 11:19:41 +01:00
Lukas Eder
f8b500fbca [jOOQ/jOOQ#11118] Nested records produced by DefaultRecordMapper do not pass through RecordListener lifecycle 2020-12-14 11:14:45 +01:00
Lukas Eder
97d6073645 Move more statements to the API generator 2020-12-11 17:33:36 +01:00
Lukas Eder
6474f8b663 [jOOQ/jOOQ#8762] Add remark or I will forget 2020-12-11 16:03:56 +01:00
Lukas Eder
89142ca9e6 [jOOQ/jOOQ#8762] [jOOQ/jOOQ#11115] Table.getSchema() should return null
on aliased tables
2020-12-11 15:34:44 +01:00
Lukas Eder
01065c4ea0 [jOOQ/jOOQ#11116] Cache implicit join path references 2020-12-11 14:53:53 +01:00
Lukas Eder
2dd9232064 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] TO_TIMESTAMP 2020-12-11 12:59:06 +01:00
Lukas Eder
7b2e03f33c [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Restored Javadoc 2020-12-11 11:10:51 +01:00
Lukas Eder
466c05c0a7 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] WIP 2020-12-11 09:53:36 +01:00
Lukas Eder
9c7aca81ea [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] MD5 2020-12-11 09:15:35 +01:00
Lukas Eder
c131c7cb88 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] OVERLAY 2020-12-11 09:07:17 +01:00
Lukas Eder
5a49323a66 [jOOQ/jOOQ#11099] Cache MockResultSet.record 2020-12-10 17:40:10 +01:00
Lukas Eder
c0ca4527cc [jOOQ/jOOQ#11099] Cache RecordDelegate instance in CursorImpl 2020-12-10 16:52:30 +01:00
Lukas Eder
d30784526a [jOOQ/jOOQ#11099] Cache CursorRecordInitialiser instance 2020-12-10 16:29:34 +01:00
Lukas Eder
96c250c6ea [jOOQ/jOOQ#11099] Cache data type attachability in AbstractBinding
- It appears that in benchmarks, the instanceof Attachable call (or the method itself, possibly preventing inlining?) in DefaultBinding.AbstractBinding::attach is quite costly. Caching the information for final types brings the 20% speedup in some benchmarks, without regressions
2020-12-10 15:55:43 +01:00
Lukas Eder
ba01d13418 [jOOQ/jOOQ#11099] Don't convert things when using IdentityConverter
- Converters.inverse(IdentityConverter) should return the IdentityConverter itself, to enable the below improvement:
- Convert::convert0 could implement a quick instanceof check to see if we're converting things with the IdentityConverter, in case of which a no-op can be implemented as a short cut.
2020-12-10 14:41:13 +01:00
Lukas Eder
1ebdf2d9ff [jOOQ/jOOQ#11099] Java 6 fix 2020-12-10 14:19:34 +01:00
Lukas Eder
091322bd4d [jOOQ/jOOQ#11099] Some performance improvements in Convert
- Shortcut in Convert::convert if the value is already of the right type, prevents the ConvertAll allocations, and a few branches
- Shortcut in Convert::convert0 if the Converter.fromType() is Object.class, then we don't need an additional ConvertAll<>(fromType) round trip, which is a no-op
- In ConvertAll, delay the calls to wrapper(Class) until they're needed
- In ConvertAll, shortcuts should be ordered as:
  - null check
  - class equality check
  - class assignability check
  - wrapper type equality check
2020-12-10 14:09:21 +01:00
Lukas Eder
78e211fee3 [jOOQ/jOOQ#11099] Cache inverse converters in MockResultSet::get 2020-12-10 12:59:27 +01:00
Lukas Eder
014a292a8a [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Trigonometric fns
- COS
- COSH
- COT
- COTH
- SIN
- SINH
2020-12-10 12:00:11 +01:00
Lukas Eder
92ecc6788e [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Fixed regression
DSL::abs must maintain the input data type, not override it with the default INTEGER type
2020-12-10 11:06:55 +01:00
Lukas Eder
66e86da28e [jOOQ/jOOQ#11066] Tests failed for jooq-spring-boot-example 2020-12-09 16:51:30 +01:00
Lukas Eder
685f2fdbe8 Re-generated example code 2020-12-09 15:53:14 +01:00
Lukas Eder
519e9ae501 [jOOQ/jOOQ#11066] Fixed jooq-jpa-example pom.xml dependencies 2020-12-09 15:53:08 +01:00
Lukas Eder
2d3b46394d [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Added Javadoc 2020-12-09 15:33:15 +01:00
Lukas Eder
c2805f964f [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] LENGTH
Including CHAR_LENGTH, BIT_LENGTH, OCTET_LENGTH
2020-12-08 22:40:23 +01:00
Lukas Eder
93c58aa9f5 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] SPLIT_PART 2020-12-08 22:07:58 +01:00
Lukas Eder
910f2dd760 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Too many overloads 2020-12-08 21:52:34 +01:00
Lukas Eder
72c85e4ed7 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] SPACE 2020-12-08 21:36:15 +01:00
Lukas Eder
16bee574ef [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] TRANSLATE 2020-12-08 21:25:52 +01:00
Lukas Eder
74775ffce5 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Avoid rawtypes 2020-12-08 21:19:16 +01:00
Lukas Eder
574e754752 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] LPAD / RPAD 2020-12-08 20:56:52 +01:00
Lukas Eder
aecc0e5b4c [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] ROWNUM 2020-12-08 17:49:02 +01:00
Lukas Eder
2f8d68812c [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] REPLACE 2020-12-08 17:04:43 +01:00
Lukas Eder
7b659728fa [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] Fix regression
There needs to be a mechanism to identify the data type of a function based on its default type and/or arguments. So far, there's a weak correlation of the behaviour and whether we're calling Tools::anyNotNull or Tools::allNotNull. Further refactorings will probably invalidate this correlation
2020-12-08 16:57:05 +01:00
Lukas Eder
c9dca0b211 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] POSITION 2020-12-08 16:46:06 +01:00
Lukas Eder
ddae3adfca [jOOQ/jOOQ#11105] NullPointerException when GenerationTool is not properly initialised 2020-12-08 15:19:03 +01:00
Lukas Eder
5c41eea8e3 [jOOQ/jOOQ#11103] NullPointerException when custom JavaGenerator subclasses don't call JavaWriter.printPackageSpecification() 2020-12-08 14:38:37 +01:00
Lukas Eder
c254373003 [jOOQ/jOOQ#11101] Misleading error message when something goes wrong in the code generator 2020-12-08 09:13:48 +01:00
Lukas Eder
df2f737a7f [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] UPPER / LOWER 2020-12-08 00:11:10 +01:00