Commit Graph

12934 Commits

Author SHA1 Message Date
Lukas Eder
af55a0a14e [jOOQ/jOOQ#15732] Support identities in code generation 2024-03-21 15:45:41 +01:00
Lukas Eder
a746263cde [jOOQ/jOOQ#15732] Fix NEXTVAL, CURRVAL syntax 2024-03-21 14:25:31 +01:00
Lukas Eder
15c182bfdb [jOOQ/jOOQ#15732] Support NEXTVAL, CURRVAL, sequence codegen, etc. 2024-03-21 14:18:11 +01:00
Lukas Eder
eb7edf7715 [jOOQ/jOOQ#15732] Correctly read defaults from MetaImpl 2024-03-21 14:18:02 +01:00
Lukas Eder
9f0987a802 [jOOQ/jOOQ#15732] Support the JSON data type 2024-03-21 11:40:39 +01:00
Lukas Eder
f8834ece32 [jOOQ/jOOQ#15732] Support quantified LIKE and LIKE with non-string types 2024-03-21 11:37:40 +01:00
Lukas Eder
99b5669edb [jOOQ/jOOQ#15732] Attempt to fetch foreign key definitions
This doesn't work yet for numerous reasons, among others:
https://github.com/duckdb/duckdb/issues/11283
2024-03-21 11:23:04 +01:00
Lukas Eder
6c67d0d384 Removed the org.apache.commons:commons-lang3 dependency from tests 2024-03-21 09:32:34 +01:00
Lukas Eder
dd6b16512e [jOOQ/jOOQ#15732] Add code generation support for arrays 2024-03-21 09:03:07 +01:00
Lukas Eder
a5974f3865 [jOOQ/jOOQ#15732] Support datetime arithmetic 2024-03-20 18:04:05 +01:00
Lukas Eder
4ea8809f4a [jOOQ/jOOQ#15732] Support array literals and bind values 2024-03-20 18:03:39 +01:00
Lukas Eder
f46cdce6ce [jOOQ/jOOQ#12052] Cannot fully qualify columns from table functions 2024-03-20 15:05:09 +01:00
Lukas Eder
aa06e17c6b [jOOQ/jOOQ#16461] Parse RIGHT SEMI JOIN and RIGHT ANTI JOIN 2024-03-20 11:14:07 +01:00
Lukas Eder
0f116a843b [jOOQ/jOOQ#16486] LEFT keyword is optional in SEMI/ANTI JOIN parsing 2024-03-20 11:02:30 +01:00
Lukas Eder
46f14e9bf2 [jOOQ/jOOQ#16486] Add native support for SEMI JOIN / ANTI JOIN in DuckDB 2024-03-20 10:51:46 +01:00
Lukas Eder
5ad5f81ed2 [jOOQ/jOOQ#16484] Fix Javadoc of Settings.renderCoalesceToEmptyStringInConcat 2024-03-19 16:28:21 +01:00
Lukas Eder
1490028bd2 [jOOQ/jOOQ#16483] Add Settings.renderNullifEmptyStringForBindValues to
emulate Oracle behaviour on other RDBMS
2024-03-19 16:20:33 +01:00
Lukas Eder
916882d597 [jOOQ/jOOQ#16479] SQL Server's CREATE cannot fully qualify a sequence 2024-03-19 15:41:27 +01:00
Lukas Eder
6e57401621 [jOOQ/jOOQ#16469] Revert 3.20 regression on CBRT() and ROOT() 2024-03-19 13:26:49 +01:00
Lukas Eder
bd062f8107 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-19 09:47:52 +01:00
Lukas Eder
72f3c5339b [jOOQ/jOOQ#16469] Work around CockroachDB's lack of support for the
POWER() function accepting integer arguments
2024-03-19 09:47:37 +01:00
Lukas Eder
e4f0c596d7 [jOOQ/jOOQ#16450] SEEK doesn't work correctly when there are multiple
noField() arguments and ORDER BY is uniform and
Settings.renderRowConditionForSeekClause is true
2024-03-18 11:53:50 +01:00
Lukas Eder
fff5a93172 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-15 17:46:11 +01:00
Lukas Eder
38a8a7d4cb [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-15 17:01:29 +01:00
Lukas Eder
7ec251ec87 [jOOQ/jOOQ#16459] Wrong AbstractField::parenthesised overrides in CURRENT_SCHEMA, CURRENT_USER 2024-03-15 15:36:43 +01:00
Lukas Eder
9e64ec7cd7 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-15 15:00:56 +01:00
Lukas Eder
198102a5ff [jOOQ/jOOQ#16452] Fix other cases where org.jooq.impl.Val uses "inferred
data type," but cannot actually lazily infer the type

This includes:

- [jOOQ/jOOQ#16456] ParsingConnection should not rely on
org.jooq.impl.Val identity to match user bind value indexes with
rendered indexes
2024-03-15 14:03:10 +01:00
Lukas Eder
d1b8fc11e1 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-15 14:02:56 +01:00
Lukas Eder
7e22b9818e [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-14 16:29:41 +01:00
Lukas Eder
37a61f9cf4 [jOOQ/jOOQ#7539] Support ARRAY_AGG
This includes:

- [jOOQ/jOOQ#16448] Add auto converter support between primitive and non-primitive arrays
2024-03-14 09:16:14 +01:00
Lukas Eder
82004a594b Revert "[jOOQ/jOOQ#16446] Avoid ScopeStack iteration in ParseScope.scopeEnd() and scopeResolve() if we're not looking up meta data" 2024-03-14 07:48:26 +01:00
Lukas Eder
c19f717c10 [jOOQ/jOOQ#16446] Avoid ScopeStack iteration in ParseScope.scopeEnd() and scopeResolve() if we're not looking up meta data 2024-03-13 16:55:10 +01:00
Lukas Eder
55fb16bd66 [jOOQ/jOOQ#16444] Remove experimental sealed type declarations from API
again
2024-03-13 15:46:43 +01:00
Lukas Eder
4bd386cde8 [jOOQ/jOOQ#16442] Support parsing function alternatives for +, -, *, / 2024-03-13 12:13:33 +01:00
Lukas Eder
c1d950cc5c Add a few type witnesses to help Eclipse 2023-12's compiler
There seems to be an ecj compiler regression in 2023-09/2023-12, where type inference of our Tools.map() method fails here and there for not yet known reasons. I might investigate this later. For now, type witnesses will do.
2024-03-13 10:54:18 +01:00
Lukas Eder
c06dc86c42 [jOOQ/jOOQ#10695] [jOOQ/jOOQ16179] Quantified comparison fixes
This includes:

- [jOOQ/jOOQ#10695] ANY clause does not generate correct SQL for
forced-type fields
- [jOOQ/jOOQ#16179] QuantifiedSelect wrapping array doesn't correctly
convert array component types
- [jOOQ/jOOQ#16439] Ignored test for quantified comparisons of array
types
2024-03-13 10:29:15 +01:00
Lukas Eder
3d36c257d1 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-12 12:59:41 +01:00
Lukas Eder
321a6367b5 [jOOQ/jOOQ#16436] Document DSL.jsonGetElement() index being 0 based 2024-03-12 09:35:33 +01:00
Lukas Eder
2b4460a423 [jOOQ/jOOQ#16432] Fix emulation support for ROOT() 2024-03-12 09:23:31 +01:00
Lukas Eder
73ccac60c4 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-12 09:19:40 +01:00
Lukas Eder
423069a6ce Remove OS from issue templates
I don't recall a single time when the OS was relevant. Let's remove it from the issue templates, increasing the probability that users will fill in the other, more important fields.
2024-03-12 09:19:22 +01:00
Lukas Eder
b995b0c015 [jOOQ/jOOQ#16432] Add support for the CBRT() and ROOT() functions 2024-03-11 15:27:56 +01:00
Lukas Eder
0b6991a4d3 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-11 14:39:52 +01:00
Lukas Eder
e72268843f [jOOQ/jOOQ#16090] OTHER isn't really like other BuiltInDataTypes 2024-03-11 13:13:23 +01:00
Lukas Eder
cfc5221ad3 [jOOQ/jOOQ#16090] Handle DSL.val(T) and DSL.inline(T) 2024-03-11 13:06:10 +01:00
Lukas Eder
9e496d1e1d [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-11 12:26:31 +01:00
Lukas Eder
0116bd8a11 [jOOQ/jOOQ#16425] [jOOQ/jOOQ#16090] Restore eager logging with CAST
When calling Field.cast(UserType.class) or Field.coerce(UserType.class), we must eager log the warning as previously
2024-03-11 12:26:17 +01:00
Lukas Eder
3f2062a8fa [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE - WIP 2024-03-11 11:33:42 +01:00
Lukas Eder
88d3dc3cb1 [jOOQ/jOOQ#16425] [jOOQ/jOOQ#16090] Static registry warning improvements
This includes:

- [jOOQ/jOOQ#8517] Row[N].eq(Row[N]) should apply data type bindings if necessary
- [jOOQ/jOOQ#16090] Unnecessary static type registry warning when inlining custom converted enum value
- [jOOQ/jOOQ#16425] Static type registry deprecation warning shouldn't appear when using the INSERT valuesOfRows() clause with converted data types
2024-03-11 11:32:00 +01:00
Lukas Eder
1338a28c75 [jOOQ/jOOQ#16418] Add <ignoreUnused/> flag to a few code generation
elements, for better reuse
2024-03-08 15:38:33 +01:00