Commit Graph

12890 Commits

Author SHA1 Message Date
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
Lukas Eder
e9d3564ebd [jOOQ/jOOQ#16332] Fix regression in internal bindParamListener feature 2024-02-26 16:11:21 +01:00
Lukas Eder
e99c73b762 [jOOQ/jOOQ#16340] DefaultRenderContext::peekIndex doesn't contain correct bind index 2024-02-26 16:09:15 +01:00
Lukas Eder
5a5b52b4d8 [jOOQ/jOOQ#16330] NumberFormatException in parser when encountering double value with implicit 0 exponent 2024-02-26 15:18:19 +01:00
Lukas Eder
243b274d49 [jOOQ/jOOQ#16332] jOOQ parser parses indexed parameters as named 2024-02-26 14:36:51 +01:00
Lukas Eder
7e786dc3d4 [jOOQ/jOOQ#579] Whitespace fix 2024-02-26 13:47:35 +01:00
Lukas Eder
dfcaa4c3aa [jOOQ/jOOQ#579] Auto alias unnamed field expressions in derived tables 2024-02-26 13:33:21 +01:00
Lukas Eder
eb6150893d [jOOQ/jOOQ#7668] Unescape kotlin/scala identifiers 2024-02-22 13:45:01 +01:00
Lukas Eder
f72521b209 [jOOQ/jOOQ#7668] DAO fetch methods should use GeneratorStrategy::getJavaMemberName with Mode.DAO instead of getJavaClassName 2024-02-22 11:44:53 +01:00
Lukas Eder
93717d58bc Delete obsolete jOOQ-academy 2024-02-21 18:06:38 +01:00
Lukas Eder
d7a9202782 [jOOQ/jOOQ#16326] DSLContext.fetchCount(Select) produces wrong SQL when query projects embeddables 2024-02-21 17:50:47 +01:00