Commit Graph

9453 Commits

Author SHA1 Message Date
Lukas Eder
005f0ef426 [jOOQ/jOOQ#11143] ParserWithMetaLookups reports ambiguous column in correlated subquery, when there is none 2020-12-17 13:14:00 +01:00
Lukas Eder
f02fa963ba [jOOQ/jOOQ#11132] ParseWithMetaLookups produces wrong projection on self join 2020-12-17 12:30:47 +01:00
Lukas Eder
6f64c4a3a2 [jOOQ/jOOQ#11139] ParseWithMetaLookups propagates wrong type from derived table 2020-12-17 11:12:05 +01:00
Lukas Eder
d0d6afc88a [jOOQ/jOOQ#11134] ParseWithMetaLookups looks up columns in Meta that
cannot possibly appear in query
2020-12-17 10:03:40 +01:00
Lukas Eder
2f943d6c7c [jOOQ/jOOQ#11136] Add Name.qualifierQualified() to check if a Name's qualifier (if any) is qualified as well 2020-12-17 09:58:50 +01:00
Lukas Eder
bb65927b1b Organised imports 2020-12-16 09:59:48 +01:00
Lukas Eder
01230163b4 [jOOQ/jOOQ#11054] Added an internal, undocumented API to collect Params
The parser is able to collect Params in lexicographic order and offer them to clients in that order, enhanced with contextual DataTypes attached (see also [jOOQ/jOOQ#11061]).

This includes a change opening up internal functional interfaces, see [jOOQ/jOOQ#11131]
2020-12-16 09:55:43 +01:00
Lukas Eder
e210b1a7ee [jOOQ/jOOQ#11129] Log a warning when users call deprecated Param.setValue(), setConverted(), setInline() 2020-12-15 15:33:10 +01:00
Lukas Eder
f884803879 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] e, τ, and π 2020-12-15 15:03:50 +01:00
Lukas Eder
97c2c2fb44 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] System functions 2020-12-15 14:55:25 +01:00
Lukas Eder
6c22cc0ea2 [jOOQ/jOOQ#11082] DSL.currentTimestamp(int) is missing 2020-12-15 14:43:05 +01:00
Lukas Eder
1428a0ba54 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] REGR_XYZ functions 2020-12-15 14:20:49 +01:00
Lukas Eder
dc0fbbd17a [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] VAR (POP/SAMP) 2020-12-15 11:34:44 +01:00
Lukas Eder
6e9c4b5e53 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] STDDEV (POP/SAMP) 2020-12-15 11:25:40 +01:00
Lukas Eder
c398201671 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] ATAN2 2020-12-15 10:13:47 +01:00
Lukas Eder
d0ea8f0e82 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] XMLFOREST 2020-12-15 09:52:38 +01:00
Lukas Eder
ed0ada98f4 [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] XMLCOMMENT 2020-12-15 09:32:29 +01:00
Lukas Eder
f36af8b52e [jOOQ/jOOQ#11061] [jOOQ/jOOQ#11070] [jOOQ/jOOQ#11091] TRUNC / CEIL / FLOOR 2020-12-14 22:21:05 +01:00
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