Commit Graph

10273 Commits

Author SHA1 Message Date
Lukas Eder
d46b8daecf [jOOQ/jOOQ#12168] Deeply nested MULTISET produce quoted JSON in MariaDB 2021-07-13 17:32:04 +02:00
Lukas Eder
4bae0a5129 [jOOQ/jOOQ#12168] Deeply nested MULTISET produce quoted JSON in MariaDB 2021-07-13 17:28:53 +02:00
Lukas Eder
f22489e93e [jOOQ/jOOQ#12117] ORA-06550 when calling a PL/SQL procedure with a %ROWTYPE parameter that has DATE fields when dateAsTimestamp=true and javaTimeTypes=true 2021-07-13 15:55:43 +02:00
Lukas Eder
40c82e51b7 [jOOQ/jOOQ#12163] Add support for TO_CHAR in Db2 2021-07-13 15:33:38 +02:00
Lukas Eder
fee068bf41 [jOOQ/jOOQ#12160] Error when embedding a timestamp in Db2 XMLELEMENT and other XML functions 2021-07-13 15:04:38 +02:00
Lukas Eder
ebe169b63f [jOOQ/jOOQ#12158] MULTISET/JSON emulation can't read TIME type in Db2 2021-07-13 14:43:00 +02:00
Lukas Eder
cea2f300aa [jOOQ/jOOQ#12155] Nested multiset record mapping fails at the 3rd level
of nesting
2021-07-13 12:26:23 +02:00
Lukas Eder
888b1cf143 [jOOQ/jOOQ#12148] Setter return type must be Unit & '@set:' annotations could be applied only to mutable properties 2021-07-12 10:04:24 +02:00
Lukas Eder
ba7a6172d0 [jOOQ/jOOQ#12149] DSL.using(String, String, String) based R2DBC Connection does not use provided username and password 2021-07-12 09:46:48 +02:00
Lukas Eder
b7e34ee27f [jOOQ/jOOQ#11465] Emulate JSON_VALUE() and JSON_EXISTS() 2021-07-12 09:39:19 +02:00
Lukas Eder
38e16b36a9 [jOOQ/jOOQ#12151] Add a cache for Tools.fieldName() and fieldNameString() 2021-07-12 09:39:04 +02:00
Lukas Eder
14ff6ce4a2 [jOOQ/jOOQ#11465] Add JSON support for SQLite via the JSON1 extension 2021-07-09 11:58:51 +02:00
Lukas Eder
53e49ff76f [jOOQ/jOOQ#12118] Fix this also in ScalaGenerator 2021-07-09 10:34:40 +02:00
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