Commit Graph

12859 Commits

Author SHA1 Message Date
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
Lukas Eder
30c0273f30 [jOOQ/jOOQ#16287] Support window references containing frames 2024-02-15 13:39:07 +01:00
Lukas Eder
6e206b7a28 [jOOQ/jOOQ#16287] Support DATE_DIFF and TIMESTAMP_DIFF 2024-02-15 13:24:00 +01:00
Lukas Eder
aad8613b19 [jOOQ/jOOQ#16287] Support DATE_ADD 2024-02-15 13:09:37 +01:00
Lukas Eder
95996c1457 [jOOQ/jOOQ#16287] Work around duckdb/duckdb#10685
JOIN tables can be aliased, but the alias cannot be used
2024-02-15 11:39:09 +01:00
Lukas Eder
3455b4e5f8 [jOOQ/jOOQ#16287] DuckDB doesn't support UPDATE .. JOIN 2024-02-15 11:15:28 +01:00
Lukas Eder
2b259a3e67 [jOOQ/jOOQ#16287] Work around duckdb/duckdb#10682 2024-02-15 10:44:31 +01:00
Lukas Eder
716865d040 [jOOQ/jOOQ#16287] Support batch 2024-02-15 08:33:49 +01:00
Lukas Eder
d22a9f7916 [jOOQ/jOOQ#16287] Support EXCEPT ALL and INTERSECT ALL in DuckDB 0.10.0 2024-02-15 08:33:36 +01:00
Lukas Eder
a0b37495f8 [jOOQ/jOOQ#16275] Remove unnecessary up-to-date prevention in jOOQ-codegen-gradle 2024-02-15 08:32:14 +01:00
Lukas Eder
d24fde1530 [jOOQ/jOOQ#16287] Support window EXCLUDE clause in DuckDB 0.10.0 2024-02-14 12:15:25 +01:00
Lukas Eder
95a039952e [jOOQ/jOOQ#16289] Fetch comments using jOOQ-meta query
The meta data isn't available from the JDBC driver yet, see: https://github.com/duckdb/duckdb/issues/10655
2024-02-14 11:52:56 +01:00
Lukas Eder
9c49ad7169 [jOOQ/jOOQ#16289] Support COMMENT ON in DuckDB 0.10.0 2024-02-14 11:14:30 +01:00
Lukas Eder
a17cf32905 [jOOQ/jOOQ#16287] Upgrade to DuckDB 0.10.0 2024-02-14 10:43:49 +01:00
Lukas Eder
c068decd97 [jOOQ/jOOQ#12243] Fix code generation regression 2024-02-14 10:41:52 +01:00
Lukas Eder
322d07ebd0 [jOOQ/jOOQ#16287] Support DuckDB NULL pseudo type as OTHER 2024-02-14 10:33:53 +01:00
Lukas Eder
2895d605a8 [jOOQ/jOOQ#16227] Fix SQLite implementation 2024-02-13 16:39:05 +01:00
Lukas Eder
3de0c3fdc2 [jOOQ/jOOQ#16279] Result::formatXML should omit type attribute on
columns whose type is unknown
2024-02-13 11:38:25 +01:00
Lukas Eder
1a6518c0d9 [jOOQ/jOOQ#16241] Meta::ddl generates incorrect queries for SQL Server (max) lengths 2024-02-13 11:37:38 +01:00
Lukas Eder
07680c0834 [jOOQ/jOOQ#12243] name(null, "") should equal to name("") 2024-02-13 09:03:38 +01:00