Commit Graph

11921 Commits

Author SHA1 Message Date
Lukas Eder
4a4ff4cbfa [jOOQ/jOOQ#14519] Downgrade xtend for JDK 8 2023-01-20 14:38:08 +01:00
Lukas Eder
07eceb7db5 [jOOQ/jOOQ#14524] Compilation error due to missing import in generated code when using <lambdaConverter/> on a routine 2023-01-20 14:37:22 +01:00
Lukas Eder
43be53b427 [jOOQ/jOOQ#14519] Upgrade xtend to support JDK 19 2023-01-19 15:39:50 +01:00
Lukas Eder
b23b976c2e [jOOQ/jOOQ#2500] Fix H2 type 2023-01-19 15:32:46 +01:00
Lukas Eder
5cfdf08426 [jOOQ/jOOQ#14519] Upgrade asm and bytebuddy to support JDK 19 tests 2023-01-19 15:32:21 +01:00
Lukas Eder
1bd9b56c32 [jOOQ/jOOQ#2500] Add support for the MySQL YEAR data type
- Added SQLDataType.YEAR
- Added parser support
- Added DDL support
- Added DefaultYearBinding
- Added CAST support
- Update Val::getJavaValueString
- Update DefaultRecordBinding
- Implement Convert logic (DefaultConverterProvider)
- Support MULTISET and ROW usage
2023-01-19 14:10:11 +01:00
Lukas Eder
8d6687bbac [jOOQ/jOOQ#9880] Set DataKey::resetInSubqueryScope flag 2023-01-19 09:28:22 +01:00
Lukas Eder
8046610b2f [jOOQ/jOOQ#14046] Better emulation for PostgreSQL 12+ and YugabyteDB 2023-01-19 09:13:39 +01:00
Lukas Eder
8e360a8b78 [jOOQ/jOOQ#9880] Remove commented code 2023-01-18 17:30:51 +01:00
Lukas Eder
1b03601508 [jOOQ/jOOQ#9880] Translate SQL Server WITH (ROWLOCK) clauses to corresponding FOR UPDATE 2023-01-18 17:07:01 +01:00
Lukas Eder
c31ef0ebec [jOOQ/jOOQ#14513] ExtendedDataKey wasn't needed after all 2023-01-18 11:14:05 +01:00
Lukas Eder
693f60f293 [jOOQ/jOOQ#14513] Implement emulation on non MySQL category dialects 2023-01-18 11:13:16 +01:00
Lukas Eder
b688780bae [jOOQ/jOOQ#14513] Support column COMMENT clause in ALTER TABLE .. ADD
This implements the feature for dialects with native support.

Before implementing it for other dialects using an anonymous block, let's refactor the internals, first. There are 2 modes of adding columns to a table, both work differently, even if they're pretty much the same in terms of the QOM, even if the syntax may differ.
2023-01-17 21:16:53 +01:00
Lukas Eder
37623e733e [jOOQ/jOOQ#14512] CREATE TABLE statements should generate COMMENT clauses for Field comments 2023-01-17 17:17:23 +01:00
Lukas Eder
86e502a9d2 [jOOQ/jOOQ#14510] Add Field<T>.comment(Comment): Field<T> 2023-01-17 17:02:37 +01:00
Lukas Eder
e9bc9cf5cb [jOOQ/jOOQ#14510] Add Field<T>.comment(Comment): Field<T> 2023-01-17 15:41:27 +01:00
Lukas Eder
1907d783eb [jOOQ/jOOQ#13640] Mutators are never nullable 2023-01-16 18:03:25 +01:00
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