Commit Graph

12878 Commits

Author SHA1 Message Date
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
Lukas Eder
13788c11f8 [jOOQ/jOOQ#16319] SelectIsNull renders invalid SQL when SELECT projection is embeddable 2024-02-21 17:07:43 +01:00
Lukas Eder
bd88ac10eb [jOOQ/jOOQ#16310] Wrong SQL generated when nesting predicates on subqueries projecting embeddables within MULTISET 2024-02-21 14:16:15 +01:00
Lukas Eder
118cce19f2 [jOOQ/jOOQ#16316] Revert [jOOQ/jOOQ#16275] 2024-02-21 11:13:59 +01:00
Lukas Eder
b3ca407278 [jOOQ/jOOQ#16308] Support parsing ORDER BY clause of STRING_AGG function 2024-02-19 13:19:23 +01:00
Lukas Eder
cbb4d4976a [jOOQ/jOOQ#16307] Add parser support for MySQL YEAR_MONTH style interval literals 2024-02-19 13:04:08 +01:00
Lukas Eder
e05761b9e8 [jOOQ/jOOQ#16302] Can't parse MySQL ALTER TABLE .. DROP .., DROP .. syntax 2024-02-19 12:45:27 +01:00
Lukas Eder
a59cdf8136 [jOOQ/jOOQ#16297] Support setting java.sql.Time bind values 2024-02-16 16:07:55 +01:00
Lukas Eder
b5455a377e [jOOQ/jOOQ#16270] Argument name could be null on empty + null 2024-02-16 16:07:10 +01:00
Lukas Eder
059175614b [jOOQ/jOOQ#16297] MULTISET equality is ORDER dependent in dialects without support for correlated derived tables 2024-02-16 12:28:56 +01:00
Lukas Eder
69cb330ca6 [jOOQ/jOOQ#16287] Support USE 2024-02-15 15:35:43 +01:00
Lukas Eder
d8f5e21fb0 [jOOQ/jOOQ#16290] NVARCHAR isn't supported 2024-02-15 15:18:45 +01:00
Lukas Eder
3f727f759f [jOOQ/jOOQ#16290] Wrong SQL generated for CREATE TABLE in non-default schemas for DuckDB 2024-02-15 15:12:42 +01:00