Commit Graph

10239 Commits

Author SHA1 Message Date
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
Lukas Eder
0a7b5c986c [jOOQ/jOOQ#11484] Support FILTER in JSON_ARRAYAGG() for Oracle
This includes:
- [jOOQ/jOOQ#12072] Work around Oracle bug where a CASE expression
without ELSE clause in JSON_ARRAYAGG causes ORA-40590: invalid format
2021-06-29 13:17:31 +02:00
Lukas Eder
bc4188a117 [jOOQ/jOOQ#3884] Declare the java.xml module dependency 2021-06-29 11:28:42 +02:00
Lukas Eder
9de3bee0fd [jOOQ/jOOQ#3884] ojdbc / xdb don't support a few of these XML features 2021-06-29 11:27:51 +02:00
Lukas Eder
a3e5a15f9e [jOOQ/jOOQ#8917] Fixed a glitch when returning ROW types in MSSQL 2021-06-29 10:47:04 +02:00
Lukas Eder
f033d6eadf [jOOQ/jOOQ#8917] INSERT .. RETURNING emulation doesn't work on SQL
Server when returning expressions or aliases

This includes:

- [jOOQ/jOOQ#12071] Add an internal means of ad-hoc table mapping
2021-06-29 10:29:23 +02:00
Lukas Eder
bceaf5df62 [jOOQ/jOOQ#12070] JSON_OBJECT and JSON_ARRAY functions should generate a Name, not a Keyword 2021-06-28 11:06:05 +02:00
Lukas Eder
6f17c77149 [jOOQ/jOOQ#3884] Fix MULTISET predicate in SQL Server 2021-06-25 15:30:14 +02:00
Lukas Eder
b86ded06e3 [jOOQ/jOOQ#12064] Informix can't handle bind values as arguments to
NVL() or COALESCE()
2021-06-25 12:55:07 +02:00
Lukas Eder
471a4ce183 Improve comment, better println 2021-06-25 10:00:31 +02:00
Lukas Eder
a326279b7a [jOOQ/jOOQ#11641] Fixed SPLIT_PART for DB2 2021-06-25 10:00:17 +02:00
Lukas Eder
57e3a84f57 [jOOQ/jOOQ#6551] Add a testcontainers example 2021-06-24 16:38:48 +02:00
Lukas Eder
b7e44902f2 Fixed accidentally removed import 2021-06-24 12:59:08 +02:00
Lukas Eder
bbee09c20d Ranking functions have upper case names, all of a sudden 2021-06-24 12:05:12 +02:00
Lukas Eder
3270182be6 [jOOQ/jOOQ#12053] Add disclaimers about mocking also to Javadoc 2021-06-24 10:02:21 +02:00
Lukas Eder
0930f21f98 [jOOQ/jOOQ#11250] Add ParseContext.languageContext()
This includes:

- [jOOQ/jOOQ#10243] Added nullability annotations to ParseContext
- [jOOQ/jOOQ#10243] Document exceptions thrown from ParseContext
2021-06-24 10:02:16 +02:00
Lukas Eder
141a3cf0bb [jOOQ/jOOQ#11250] Add ParseContext.languageContext()
This includes:

- [jOOQ/jOOQ#10243] Added nullability annotations to ParseContext
- [jOOQ/jOOQ#10243] Document exceptions thrown from ParseContext
2021-06-24 09:34:47 +02:00
Lukas Eder
2d128da1eb [jOOQ/jOOQ#12050] PL/SQL can't have length/precision/scale in casts
This includes:

- [jOOQ/jOOQ#11250] Add a language context to the ParserContext
2021-06-23 18:05:31 +02:00
Lukas Eder
fbb43fa884 [jOOQ/jOOQ#11191] Generated code of a routine with TIMESTAMP parameter has too little precision 2021-06-23 15:41:10 +02:00
Lukas Eder
55ae3dcd31 [jOOQ/jOOQ#12046] Add support for XMLSERIALIZE
This also fixes [jOOQ/jOOQ#12030] MULTISET predicates for Db2
2021-06-23 13:09:41 +02:00
Lukas Eder
339ce915c5 [jOOQ/jOOQ#12044] Correctly emulate XMLAGG(...) FILTER (WHERE ...) in Db2, Oracle, Teradata 2021-06-23 11:56:58 +02:00
Lukas Eder
c1431efdd5 [jOOQ/jOOQ#3884] Make XMLHandler case insensitive
Db2 and Oracle produce upper case XML elements by default. Let's not insist on case sensitivity in MULTISET SQL/XML emulated documents
2021-06-23 11:28:10 +02:00