Commit Graph

12144 Commits

Author SHA1 Message Date
Lukas Eder
e837769bd3 [jOOQ/jOOQ#14465] Make a dummy assignment for the OSS edition 2023-01-11 10:31:15 +01:00
Lukas Eder
afc676a030 [jOOQ/jOOQ#14477] [jOOQ/jOOQ#14479] Fix regression 2023-01-10 19:27:02 +01:00
Lukas Eder
a39bc97fbb [jOOQ/jOOQ#14477] Wrong SQL generated in SQL Server when virtual client side computed columns are referenced in DELETE .. RETURNING clause 2023-01-10 17:37:12 +01:00
Lukas Eder
d93eba5a33 [jOOQ/jOOQ#5799] Fix asterisk expansion for WITH ORDINALITY
If WITH ORDINALITY is emulated using a derived table, then we must not fully qualify the fields.

This probably produces other issues when it is safe to expect fully qualified columns from a WITH ORDINALITY table, including a performance penalty when looking up field references in records.
2023-01-10 16:56:04 +01:00
Lukas Eder
4e9589e71b [jOOQ/jOOQ#14476] Move experimental migrations API to DSLContext::migrations to avoid conflicts with transaction statements 2023-01-10 16:32:42 +01:00
Lukas Eder
3bbce6a7c8 [jOOQ/jOOQ#13986] Db2 supports LISTAGG() without WITHIN GROUP 2023-01-10 14:17:50 +01:00
Lukas Eder
20ed73a9b3 [jOOQ/jOOQ#13986] Add support for Db2 11.1 LISTAGG(DISTINCT) 2023-01-10 13:37:47 +01:00
Lukas Eder
9da211c606 [jOOQ/jOOQ#14473] Refactor Db2 v9 and Teradata LISTAGG emulation to use native support for XMLSERIALIZE instead of plain SQL templates 2023-01-10 13:24:41 +01:00
Lukas Eder
6f52a8c7fd [jOOQ/jOOQ#14470] Support parsing ALL keyword in aggregate functions
This includes:
- [jOOQ/jOOQ#10730] Add parser support for JSON_ARRAYAGG(DISTINCT ..)
2023-01-10 12:51:46 +01:00
Lukas Eder
534a20c9b6 [jOOQ/jOOQ#14469] MULTISET comparison doesn't work in Db2 with XML or JSONB emulation 2023-01-10 10:01:33 +01:00
Lukas Eder
55dcef15ce [jOOQ/jOOQ#14466] Wrong result column type for requested conversion when reading JSONB_ARRAYAGG in DB2 2023-01-10 09:25:04 +01:00
Lukas Eder
666a3917d0 [jOOQ/jOOQ#14465] Add parser support for SQL Server OPENJSON with WITH clause 2023-01-10 08:56:03 +01:00
Lukas Eder
4af1c173ab [jOOQ/jOOQ#14464] Improve confusing parser error message "SELECT or SEL"
expected
2023-01-10 08:37:32 +01:00
Lukas Eder
095fa8fb0d [jOOQ/jOOQ#14463] Work around SQL Server's 4000 character JSON_VALUE length limitation 2023-01-09 20:27:48 +01:00
Lukas Eder
cfb039cafc [jOOQ/jOOQ#14245] Fix regression
This includes:
- [jOOQ/jOOQ#14462] Added integration test
2023-01-09 17:01:28 +01:00
Lukas Eder
10bcdd6142 [jOOQ/jOOQ#14459] Work around Db2 error "The string constant beginning
with ... is too long"
2023-01-09 16:16:00 +01:00
Lukas Eder
0ddbc74798 [jOOQ/jOOQ#7106] More transaction statement support (WIP)
This includes:
- Teradata implementation
2023-01-09 13:22:12 +01:00
Lukas Eder
2bd55c87ca [jOOQ/jOOQ#14458] Add native DECODE() support in MemSQL and DECODE_ORACLE() support in MariaDB 2023-01-09 10:52:13 +01:00
Lukas Eder
a2c7b01331 [jOOQ/jOOQ#14457] Add support for MySQL style ELT() function (equivalent to CHOOSE()) 2023-01-09 10:39:25 +01:00
Lukas Eder
bf67ad6b8e [jOOQ/jOOQ#7106] More transaction statement support (WIP)
This includes implementations for:
- HANA
- Informix
- YugabyteDB
2023-01-09 10:08:00 +01:00
Lukas Eder
86de35b8c5 [jOOQ/jOOQ#14453] Emulate BETWEEN SYMMETRIC in BigQuery 2023-01-04 18:22:30 +01:00
Lukas Eder
6776a29e50 [jOOQ/jOOQ#9854] [jOOQ/jOOQ#14447] DIGITS() emulation 2023-01-04 18:14:14 +01:00
Lukas Eder
6bae4f8234 [jOOQ/jOOQ#14448] BigQuery * EXCEPT can't have qualified identifiers
This includes:
- [jOOQ/jOOQ#14310] Aliased JoinTable emulation
2023-01-04 16:39:30 +01:00
Lukas Eder
0b37dba2a0 [jOOQ/jOOQ#12905] Support BigQuery LIMIT .. OFFSET with expressions 2023-01-04 16:27:45 +01:00
Lukas Eder
6c9b91e6ed [jOOQ/jOOQ#7106] More transaction statement support (WIP)
This includes:
- Db2 implementation
2023-01-04 14:10:41 +01:00
Lukas Eder
2ce6ca6120 [jOOQ/jOOQ#7106] More transaction statement support (WIP)
This includes:
- EXASOL implementation
2023-01-04 13:35:18 +01:00
Lukas Eder
aa733032cc [jOOQ/jOOQ#7106] More transaction statement support (WIP)
This includes:
- Update autoCommit in Firebird, HSQLDB, Oracle on StartTransaction
- Execute no-op in Oracle, Firebird on StartTransaction
2023-01-04 12:48:51 +01:00
Lukas Eder
202d221994 [jOOQ/jOOQ#7106] Add CockroachDB support 2023-01-03 21:37:59 +01:00
Lukas Eder
64c4ef7fae [jOOQ/jOOQ#7106] Add SQLite support 2023-01-03 21:07:34 +01:00
Lukas Eder
49f0c8332e [jOOQ/jOOQ#7106] Fix generation indentation
Statements without statement arguments, but with step arguments don't have any final members
2023-01-03 20:32:16 +01:00
Lukas Eder
853b3c8729 [jOOQ/jOOQ#7106] Add parser support for status quo 2023-01-03 20:14:14 +01:00
Lukas Eder
bb7a8b4c3b [jOOQ/jOOQ#7106] Add support for procedural transaction statements - WIP
This includes:
- Partial support for Db2, Firebird, SQL Server
2023-01-03 19:48:11 +01:00
Lukas Eder
a90243a275 [jOOQ/jOOQ#14445] Delay ExecuteContext::connection in BatchMultiple and BatchSingle 2023-01-03 17:17:39 +01:00
Lukas Eder
6db826afa7 [jOOQ/jOOQ#7106] Add support for procedural transaction statements - WIP
This includes:
- Remove duplicate generated objects
2023-01-03 17:13:56 +01:00
Lukas Eder
e38ceeafdc [jOOQ/jOOQ#7106] Add support for procedural transaction statements - WIP
This includes:
- START TRANSACTION
- COMMIT
- RELEASE SAVEPOINT
- ROLLBACK [ TO SAVEPOINT ]
- SAVEPOINT

Implementations:
- H2
- HSQLDB (not passing tests yet)
- PostgreSQL
2023-01-03 17:08:05 +01:00
Lukas Eder
68de5bfa35 [jOOQ/jOOQ#14441] Support parsing && and ! logical operators in MySQL
This includes:

- [jOOQ/jOOQ#14442] Add ParserContext::parseCategory
2023-01-03 10:15:55 +01:00
Lukas Eder
5b13bc1d40 [jOOQ/jOOQ#14440] Add Teradata support for STRTOK via SplitPart 2023-01-03 09:55:44 +01:00
Lukas Eder
3aab9412ae Re-generated examples code 2023-01-03 09:10:31 +01:00
Lukas Eder
86871b343e
Merge pull request #14432 from cies/patch-1
Correctly hint nullability of getSchema() method
2023-01-02 13:15:15 +01:00
Cies Breijs
e7a21cc678
Correctly hint nullability of getSchema() method
Fixes #14431
2022-12-27 15:18:17 +01:00
Lukas Eder
0b720ed251 [jOOQ/jOOQ#11981] Added ARRAY_REPLACE parser support 2022-12-21 09:11:03 +01:00
Lukas Eder
d68d9707ca [jOOQ/jOOQ#11981] Deprecate PostgresDSL methods 2022-12-21 09:10:55 +01:00
Lukas Eder
fe5de70962 [jOOQ/jOOQ#11981] Added ARRAY_REPLACE 2022-12-20 16:31:27 +01:00
Lukas Eder
ccfe834c51 Revert "[jOOQ/jOOQ#14417] ArrayTableEmulation should use VALUES to emulate UNNEST" 2022-12-20 11:01:27 +01:00
Lukas Eder
14d148a9e5 [jOOQ/jOOQ#5799] OSS edition fix 2022-12-20 09:30:36 +01:00
Lukas Eder
5da938a261 [jOOQ/jOOQ#14426] OUTER APPLY emulation should use TrueCondition, not hard coded 1 = 1 2022-12-20 09:30:21 +01:00
Lukas Eder
67e658eb9f [jOOQ/jOOQ#5799] Rename OrdinalityTable to WithOrdinalityTable 2022-12-19 16:09:58 +01:00
Lukas Eder
ff23814a45 [jOOQ/jOOQ#5799] Rename OrdinalityTable to WithOrdinalityTable 2022-12-19 15:54:51 +01:00
Lukas Eder
ca266a307a [jOOQ/jOOQ#14421] Update error reporting URL in log messages 2022-12-19 10:46:09 +01:00
Lukas Eder
e8175b9392 [jOOQ/jOOQ#14416] Support UNNEST(ARRAY[...]) in dialects that do not otherwise support arrays 2022-12-16 16:26:21 +01:00