Commit Graph

10260 Commits

Author SHA1 Message Date
Lukas Eder
f14fdafef8 [jOOQ/jOOQ#12118] Regression in SQLite code generation for unnamed composite pkeys on JDK 9+ with the jOOQ Open Source Edition 2021-07-09 10:06:50 +02:00
Lukas Eder
aa368ca2e1 [jOOQ/jOOQ#12144] Fix wrong DefaultJSONBBinding implementation 2021-07-09 09:30:25 +02:00
Lukas Eder
6efb7b6007 [jOOQ/jOOQ#12144] Fix wrong JSONB.toString() implementation 2021-07-09 09:24:53 +02:00
Lukas Eder
f39f2c6542 [jOOQ/jOOQ#12141] Data conversion error converting "TIMESTAMP to JSON" in H2 2021-07-08 21:26:47 +02:00
Lukas Eder
aae2e82602 [jOOQ/jOOQ#12139] MULTISET as JSON emulation using JSON_ARRAY must use NULL ON NULL clause 2021-07-08 21:04:23 +02:00
Lukas Eder
410bbf596f [jOOQ/jOOQ#12136] IndexOutOfBoundsException when deserialising MULTISET as XML emulation with NULLs 2021-07-08 17:46:54 +02:00
Lukas Eder
029ef23e2d [jOOQ/jOOQ#12130] No regressions... 2021-07-08 15:23:37 +02:00
Lukas Eder
bcd0746a24 [jOOQ/jOOQ#12130] Wrong deserialisation of temporal data types in
MULTISET
2021-07-08 15:21:06 +02:00
Lukas Eder
0138667a71 [jOOQ/jOOQ#12045] Support correlating MULTISET operators in dialects that can't correlated subqueries from derived tables 2021-07-08 14:31:29 +02:00
Lukas Eder
6133348804 [jOOQ/jOOQ#12030] Update documentation, this now works 2021-07-08 14:26:44 +02:00
Lukas Eder
47378f1dd2 [jOOQ/jOOQ#12125] Wrong Support annotation: HSQLDB doesn't support MULTISET or MULTISET_AGG 2021-07-08 12:27:36 +02:00
Lukas Eder
3dc3520779 [jOOQ/jOOQ#12123] Regression in ResultQuery.fetchMap(Field, Field) with null values 2021-07-08 12:01:22 +02:00
Lukas Eder
c742acdc4c [jOOQ/jOOQ#12116] Fix this for Db2
JSON_ARRAY() is just too much trouble in Db2 (see [jOOQ/jOOQ#12105]).
We'll use the same emulation as in SQL Server, using {v1:..,v2:..}
2021-07-08 11:19:04 +02:00
Lukas Eder
d3ccdddb8b [jOOQ/jOOQ#12116] Re-generate imports 2021-07-08 11:04:12 +02:00
Lukas Eder
c39a239939 [jOOQ/jOOQ#12116] Support nesting ROW in MULTISET 2021-07-08 11:01:51 +02:00
Lukas Eder
18877f38c0 Merge branch 'main' of github.com:jOOQ/jOOQ 2021-07-07 20:16:22 +02:00
Lukas Eder
b0a8e61929 [jOOQ/jOOQ#12120] Spring Boot example should use
@SpringBootApplication(exclude = { R2dbcAutoConfiguration.class })
2021-07-07 20:13:57 +02:00
Lukas Eder
193f570572 [jOOQ/jOOQ#12104] R2DBC nested subscription loops forever when nesting or sequencing INSERT .. RETURNING run on r2dbc-pool 2021-07-07 11:26:31 +02:00
Lukas Eder
9c1f8ff693 [jOOQ/jOOQ#12104] Added working integration test 2021-07-07 08:39:57 +02:00
Lukas Eder
8f6638b7e5 [jOOQ/jOOQ#12109] Remove pre 3.6 deprecated API 2021-07-06 21:24:11 +02:00
Lukas Eder
bb248cf4e0 [jOOQ/jOOQ#12109] Remove pre 3.6 deprecated API 2021-07-06 21:07:35 +02:00
Lukas Eder
d80ccddec0 [jOOQ/jOOQ#12110] Move Sakila database to own repository 2021-07-06 09:42:43 +02:00
Lukas Eder
c67e718892 Release 3.16.0-SNAPSHOT 2021-07-05 17:30:40 +02:00
Lukas Eder
5b2cd20fe7 [jOOQ/jOOQ#9684] Don't publish GitCLI yet 2021-07-05 17:29:53 +02:00
Lukas Eder
26d9c6fd18 [jOOQ/jOOQ#12104] Upgrade reactor-core dependency 2021-07-05 13:05:12 +02:00
Lukas Eder
1d3b00bdb2 [jOOQ/jOOQ#11960] Prevent NoClassDefFoundError
The previous implementation required Redshift users to also have the pgjdbc driver on the classpath to prevent NoClassDefFoundError, but that should not be necessary.
2021-07-03 11:04:13 +02:00
Lukas Eder
93976d111c [jOOQ/jOOQ#12105] Work around Db2 Reply.fill() - insufficient data (-1).
Message: Insufficient data. when fetching JSON_ARRAY.

The workaround works for the integration tests, but not if there's a
join, in case of which a more elaborate workaround could be used:

select json_query(
  json_object(key 'k' value t.i, key 'k' value u.j),
  '$.*' with conditional array wrapper
)
from t join u on t.i = u.i
2021-07-02 21:58:52 +02:00
Lukas Eder
3d9e87f1c0 [jOOQ/jOOQ#11473] Use AliasedSelect instead of DerivedTable for MULTISET
A DerivedTable with table aliases produces a UNION subquery, and then we
run into this limitation in some dialects: [jOOQ/jOOQ#3791], where UNION
subqueries are not allowed to contain ORDER BY. The limitation can be
worked around by using AliasedSelect instead of a DerivedTable, though
again, there's a limitation that we can run into, though a less severe
one: [jOOQ/jOOQ#11473], where AliasedSelect doesn't work correctly yet
if original aliases (prior to re-aliasing) are referenced from ORDER BY
2021-07-02 16:51:39 +02:00
Lukas Eder
954e2acea5 [jOOQ/jOOQ#3884] Fixed regression in Oracle.
Don't generate FORMAT JSON if unnecessary
2021-07-02 15:13:38 +02:00
Lukas Eder
b3f4ff8dc0 [jOOQ/jOOQ#11960] Add support for Redshift YEAR TO MONTH interval literals 2021-07-02 14:57:45 +02:00
Lukas Eder
661195af53 [jOOQ/jOOQ#11543] Emulate FOR UPDATE .. WAIT n using SET SESSION innodb_lock_wait_timeout in MySQL dialects 2021-07-02 14:19:18 +02:00
Lukas Eder
04a5a0ffe7 [jOOQ/jOOQ#3884] Support ambiguous column names in MULTISET (MSSQL) 2021-07-02 14:11:52 +02:00
Lukas Eder
5d60eb36f1 [jOOQ/jOOQ#12099] MySQL 8.0.20 has deprecated VALUES() for removal 2021-07-02 09:02:08 +02:00
Lukas Eder
1720701369 [jOOQ/jOOQ#12092] Prevent duplicate setting of @@group_concat_max_len 2021-07-01 20:30:15 +02:00
Lukas Eder
e946c6f09a [jOOQ/jOOQ#12093] Add <includeExcludePackageRoutines/> to let code generator <includes/> and <excludes/> match package procedures and functions 2021-07-01 16:13:51 +02:00
Lukas Eder
0680d7e41f [jOOQ/jOOQ#12019] ORA-06550 when calling a PL/SQL procedure with a %ROWTYPE parameter that has DATE fields when dateAsTimestamp=true 2021-07-01 15:38:17 +02:00
Lukas Eder
ae30587897 [jOOQ/jOOQ#12092] MySQL queries running GROUP_CONCAT() or JSON_ARRAYAGG() should auto-increase the default group_concat_max_len 2021-07-01 14:31:26 +02:00
Lukas Eder
6cf495cefa [jOOQ/jOOQ#3884] MULTISET via SQL/JSON emulation must use RETURNING CLOB 2021-07-01 12:56:31 +02:00
Lukas Eder
1cd01abeec [jOOQ/jOOQ#12079] Avoid auxiliary in-memory table when emulating DML
RETURNING in SQL Server, if not strictly necessary
2021-07-01 11:45:23 +02:00
Lukas Eder
1aa725bbf3 [jOOQ/jOOQ#12078] SQL Server UpdatableRecord.refresh() is unnecessary
when calling UpdatableRecord.store()
2021-06-30 15:44:04 +02:00
Lukas Eder
7318d893d0 [jOOQ/jOOQ#11700] Work around https://github.com/oracle/oracle-r2dbc/issues/31 2021-06-30 13:17:10 +02:00
Lukas Eder
f3a1085483 [jOOQ/jOOQ#12086] Fix automatic imports 2021-06-30 12:49:13 +02:00
Lukas Eder
7bd03e11f3 [jOOQ/jOOQ#12086] Nested JSON_OBJECT() emulation is wrong in SQL Server 2021-06-30 12:38:47 +02:00
Lukas Eder
0e5ae3f7e2 [jOOQ/jOOQ#12088] UDT.getQualifiedName() does not produce package qualification for a package UDT 2021-06-30 12:38:38 +02:00
Lukas Eder
47da079332 [jOOQ/jOOQ#12085] Work around Oracle's JSON_ARRAYAGG() bugs when aggregate inputs should be DISTINCT 2021-06-30 11:19:53 +02:00
Lukas Eder
5249e2efe6 Oracle doesn't support DROP TABLE [ CASCADE | RESTRICT ] 2021-06-30 11:19:37 +02:00
Lukas Eder
607b8c3d1b [jOOQ/jOOQ#12080] Generate a FORMAT JSON clause in Oracle's JSON_OBJECT
if contents are of type JSON
2021-06-29 17:51:19 +02:00
Lukas Eder
fb6dc22aff [jOOQ/jOOQ#12080] Generate a FORMAT JSON clause in Oracle's JSON_OBJECT if contents are of type JSON 2021-06-29 17:32:49 +02:00
Lukas Eder
6fb60a5364 [jOOQ/jOOQ#11700] Support binding floats in Oracle via R2DBC 2021-06-29 16:28:57 +02:00
Lukas Eder
243cedc2ae [jOOQ/jOOQ#3884] [jOOQ/jOOQ#12074] Cast XML as VARCHAR2 for comparison in Oracle, for now 2021-06-29 14:12:43 +02:00