Commit Graph

12900 Commits

Author SHA1 Message Date
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
Lukas Eder
8bc9fa9944 [jOOQ/jOOQ#7539] Support for SQLDialect.CLICKHOUSE 2024-03-08 15:20:22 +01:00
Lukas Eder
e94c4b88f0 [jOOQ/jOOQ#12851] Support interpreter 2024-03-05 14:49:55 +01:00
Lukas Eder
cedef95cc3 [jOOQ/jOOQ#12851] Support DDL export 2024-03-05 14:33:42 +01:00
Lukas Eder
a4f683ada7 [jOOQ/jOOQ#12851] Add support for CREATE SEQUENCE .. AS <data type>
Added support for:

- DDL
- Parser
2024-03-05 13:29:16 +01:00
Lukas Eder
f9b7eb038f [jOOQ/jOOQ#15934] Code generator and MetaImpl return CREATE DEFAULT
statement instead of just the default expression
2024-03-05 10:14:04 +01:00
Lukas Eder
fedbec9243 [jOOQ/jOOQ#14504] Add constructor API to QOM types 2024-03-04 15:18:54 +01:00
Lukas Eder
b10f0e89be [jOOQ/jOOQ#16405] OSS edition fix 2024-03-04 13:28:14 +01:00
Lukas Eder
d7c0fac926 [jOOQ/jOOQ#16405] Parser doesn't support GROUPING SETS with <ordinary
grouping set> specification
2024-03-04 12:29:13 +01:00
Lukas Eder
f7fe2b866a [jOOQ/jOOQ#16002] Add new code generation flag to omit @NotNull / @Nullable annotations on write-only nullable types 2024-03-01 16:44:51 +01:00
Lukas Eder
a79ef9bca5 [jOOQ/jOOQ#16216] Additional fixes:
- Replace only exactly one column
- Throw column not found if applicable
2024-03-01 15:03:26 +01:00
Lukas Eder
65916f6b1c [jOOQ/jOOQ#16216] Add parser support for SQLite's undocumented inline AUTOINCREMENT syntax 2024-03-01 14:58:49 +01:00
Lukas Eder
7da530e6e2 [jOOQ/jOOQ#16188] Delay also task configuration 2024-03-01 14:23:50 +01:00
Lukas Eder
b55b0bcc40 [jOOQ/jOOQ#16188] jOOQ-codegen-gradle should lazily evaluate its configuration 2024-03-01 14:07:15 +01:00
Lukas Eder
8fd072bd72 [jOOQ/jOOQ#16392] Regression in fetchCount execution when argument query
uses plain SQL tables

This includes:

- [jOOQ/jOOQ#16393] Empty derived column lists generate wrong SQL syntax
2024-03-01 10:04:20 +01:00
Lukas Eder
69c7a5ac0d [jOOQ/jOOQ#16378] Add arity check to synthetic foreign key configuration to avoid wrong generated code when FK / UK columns mismatch 2024-02-29 15:31:49 +01:00
Lukas Eder
0cf9cb9ba5 [jOOQ/jOOQ#16385] Add some WARN logs when synthetic key objects aren't matched 2024-02-29 13:59:53 +01:00
Lukas Eder
f9c9f22da3 [jOOQ/jOOQ#16334] Cast UUID bind values also in SQL Server 2024-02-29 13:36:06 +01:00
Lukas Eder
272b17abf1 [jOOQ/jOOQ#16367] HSQLDB is also affected 2024-02-29 13:18:34 +01:00
Lukas Eder
1745321e92 [jOOQ/jOOQ#16334] Cast UUID bind values also in HSQLDB 2024-02-29 13:07:35 +01:00
Lukas Eder
1740abe739 [jOOQ/jOOQ#11083] DataType should cache null_() and notNull() variants 2024-02-29 08:53:18 +01:00
Lukas Eder
181d838797 [jOOQ/jOOQ#11083] DataType should cache null_() and notNull() variants 2024-02-28 17:44:50 +01:00
Lukas Eder
44c026475d [jOOQ/jOOQ#16367] Fix regression when projecting nested rows 2024-02-28 16:51:38 +01:00
Lukas Eder
0fce649891 [jOOQ/jOOQ#16367] Cast NULL literal in subquery SELECT projection in PostgreSQL 2024-02-28 16:13:44 +01:00
Lukas Eder
82975fc482 [jOOQ/jOOQ#9085] Render native BIT_COUNT(..) by default 2024-02-28 14:54:41 +01:00
Lukas Eder
c65e1e1cd0 [jOOQ/jOOQ#16368] Parser always parses NULL literal of type BOOLEAN 2024-02-28 14:41:28 +01:00
Lukas Eder
eaf1a766b5 [jOOQ/jOOQ#16334] UUID bind values should be auto-cast to avoid issues with lack of auto-conversion support in PostgreSQL 2024-02-28 11:53:12 +01:00
Lukas Eder
33acb34307 [jOOQ/jOOQ#16363] Upgrade pgjdbc to 42.7.2 2024-02-28 09:56:20 +01:00
Lukas Eder
dd09631420 [jOOQ/jOOQ#12998] Remove redundant utility
SettingsTools.getParamType() already checks for
StatementType.STATIC_STATEMENT usage
2024-02-27 16:37:07 +01:00
Lukas Eder
1e800f53bc [jOOQ/jOOQ#12998] DetachedException regression 2024-02-27 16:05:20 +01:00
Lukas Eder
67ad046c29 [jOOQ/jOOQ#12998] ParsingConnection doesn't correctly execute batches
when using ParamType.INLINED or StatementType.STATIC_STATEMENT
2024-02-27 15:59:11 +01:00
Lukas Eder
f68e9f690f [jOOQ/jOOQ#16336] Parser shouldn't fail with NumberFormatException
This includes:

- [jOOQ/jOOQ#16347] Parser fails with StringIndexOutOfBoundsException when encountering invalid PostgreSQL unicode literal
2024-02-27 13:10:11 +01:00
Lukas Eder
2a5b39f7d7 [jOOQ/jOOQ#16346] DSL.count(SelectFieldOrAsterisk) shouldn't wrap ordinary Field in SQLField 2024-02-27 11:48:49 +01:00
Lukas Eder
3c63762ac6 [jOOQ/jOOQ#16344] QOM.Count.() should return null instead of internal asterisk representation
This includes:

- [jOOQ/jOOQ#16345] DSL.count() doesn't return QOM.Count type
2024-02-27 11:43:34 +01:00
Lukas Eder
44fab52c36 [jOOQ/jOOQ#579] Add NamedCheckField
Like SimpleCheckQueryPart for SimpleQueryPart, a new NamedCheckField for NamedField contents has been added for cases like Coerce, which are wrappers for something that could be a NamedField.
2024-02-26 19:29:46 +01:00