Commit Graph

11904 Commits

Author SHA1 Message Date
Lukas Eder
366561ddeb [jOOQ/jOOQ#13640] Add mutators for () 2023-01-16 11:32:19 +01:00
Lukas Eder
fe0be5c94d [jOOQ/jOOQ#14499] Added package-info.java 2023-01-16 10:48:20 +01:00
Lukas Eder
66c0073301 [jOOQ/jOOQ#14499] Fix module-info 2023-01-16 10:39:13 +01:00
Lukas Eder
e5d7876d18 [jOOQ/jOOQ#14499] Add an R2DBC LoggingConnection 2023-01-16 09:44:11 +01:00
Lukas Eder
9b15456574 [jOOQ/jOOQ#13802] TransactionPublisher does not commit transaction when
wrapped in reactor's Mono
2023-01-13 17:15:58 +01:00
Lukas Eder
19a13fe9d3 [jOOQ/jOOQ#14489] Syntax errors lead to unclosed R2DBC connection in SQL
Server
2023-01-13 13:48:41 +01:00
Lukas Eder
6c68000a3d [jOOQ/jOOQ#14496] Implement BatchMultiple::toString and BatchSingle::toString 2023-01-13 13:48:01 +01:00
Lukas Eder
244e5ab910 [jOOQ/jOOQ#14488] Parser should disambiguate SQL Server + operand based on operand lookup 2023-01-11 17:26:31 +01:00
Lukas Eder
82f57ab254 [jOOQ/jOOQ#13565] Update R2DBC dependency to 1.0.0.RELEASE 2023-01-11 16:50:32 +01:00
Lukas Eder
39935d18c8 [jOOQ/jOOQ#9085] SQLDialect.DEFAULT should render RETURNING clause 2023-01-11 16:50:20 +01:00
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