Commit Graph

11379 Commits

Author SHA1 Message Date
Lukas Eder
81de955e11 Release 3.17.1-SNAPSHOT 2022-06-23 11:25:37 +02:00
Lukas Eder
b1718c6648 [jOOQ/jOOQ#13700] Upgrade to H2 2.1.214
This includes upgrading to 3.18.0-SNAPSHOT on main branch
2022-06-22 11:58:07 +02:00
Lukas Eder
723e74d94d [jOOQ/jOOQ#9879] Get things to work in kotlin and scala 2022-06-16 10:34:20 +02:00
Lukas Eder
86b2ec3abc [jOOQ/jOOQ#4946] Hide implementation for now 2022-06-16 08:42:20 +02:00
Lukas Eder
29890da22c [jOOQ/jOOQ#6489] Code generator should support SQL-generated "dynamic regular expressions" 2022-06-15 18:11:56 +02:00
Lukas Eder
439e60c558 [jOOQ/jOOQ#9879] Skip some tests in Derby
Derby's MERGE support is not powerful enough to implement client side computed columns this way. We'll keep this limitation as a known issue for now.
2022-06-15 15:41:18 +02:00
Lukas Eder
30939a47a8 [jOOQ/jOOQ#1049] Fixed regression 2022-06-15 15:07:31 +02:00
Lukas Eder
5b79a8a7c1 [jOOQ/jOOQ#13679] Upgrade HSQLDB to 2.6.1 2022-06-15 12:18:51 +02:00
Lukas Eder
31c6a9e89d [jOOQ/jOOQ#13676] Improve <inputCatalog/> warning message in code generator 2022-06-15 11:06:51 +02:00
Lukas Eder
a29efc26ce [jOOQ/jOOQ#13671] Oracle doesn't support ORDER BY in UPDATE .. SET
correlated subquery
2022-06-15 10:12:21 +02:00
Lukas Eder
1505149178 [jOOQ/jOOQ#13673] Settings.returnAllOnUpdatableRecord doesn't work for UPDATE queries in HSQLDB 2022-06-15 10:12:10 +02:00
Lukas Eder
b60d98ec7e [jOOQ/jOOQ#13671] Oracle doesn't support ORDER BY in UPDATE .. SET correlated subquery 2022-06-15 09:11:47 +02:00
Lukas Eder
ff733c814a [jOOQ/jOOQ#13670] Add support for Oracle SYS.XMLTYPE in plain SQL
templates
2022-06-14 17:20:15 +02:00
Lukas Eder
85731537f1 [jOOQ/jOOQ#9879] Fix MERGE .. WHEN MATCHED THEN UPDATE SET ROW
While Oracle supports UPDATE .. SET ROW syntaxes with subqueries, it doesn't support the syntax for MERGE
2022-06-14 16:58:00 +02:00
Lukas Eder
c0408af907 [jOOQ/jOOQ#13667] Link.() is Nullable 2022-06-14 15:58:51 +02:00
Lukas Eder
f7ac22063f [jOOQ/jOOQ#9879] Fix DML .. RETURNING statements for Oracle
We can't rely on JDBC to get generated keys in Oracle when there are virtual client side generated columns in the RETURNING clause
2022-06-14 15:58:38 +02:00
Lukas Eder
c3e1f751f4 [jOOQ/jOOQ#9879] Avoid the generators for virtual client side computed columns 2022-06-14 14:00:50 +02:00
Lukas Eder
c04fb70369 [jOOQ/jOOQ#9879] Add explicit DataType::computedOnServer 2022-06-14 12:46:19 +02:00
Lukas Eder
ddb55b5372 [jOOQ/jOOQ#13664] Added Javadoc hints to Table::as
As explained in the issue comments, a Table cannot be aliased as a Field independently of its table aliasing in the jOOQ API. This means that when calling Table.as() to alias a table in the projection (SELECT), the expectation is that the alias is also declared in FROM.

In order to alias a table only in the projection, the Table has to be wrapped using DSL.field(SelectField), first.
2022-06-14 10:56:26 +02:00
Lukas Eder
20fd0937f4 [jOOQ/jOOQ#13664] The CAST must be qualified 2022-06-14 10:19:55 +02:00
Lukas Eder
6b70ac044f [jOOQ/jOOQ#13664] Avoid ambiguous reference when using Table<R> as
SelectField<R> for table conflicting with column
2022-06-13 15:30:29 +02:00
Lukas Eder
673230c0b6 [jOOQ/jOOQ#8997] Remove jOOQ-spring-example 2022-06-13 14:18:52 +02:00
Lukas Eder
4b9e25ed27 [jOOQ/jOOQ#7362] Fixed some unit tests 2022-06-13 13:53:27 +02:00
Lukas Eder
a24f8def43 [jOOQ/jOOQ#7362] Some pedantry 2022-06-13 12:29:01 +02:00
Lukas Eder
255933935d [jOOQ/jOOQ#7362] More parenthesised conditions (in some dialects):
- TrueCondition
- FalseCondition
- NullCondition
2022-06-13 12:26:53 +02:00
Lukas Eder
3778a8796f [jOOQ/jOOQ#1049] Java 8 compiler needs type witnesses here 2022-06-13 11:57:23 +02:00
Lukas Eder
bb9900ba8f [jOOQ/jOOQ#13660] PostgreSQL ON CONFLICT .. WHERE .. DO NOTHING generates not valid SQL 2022-06-13 11:57:10 +02:00
Lukas Eder
f915b55590 [jOOQ/jOOQ#13655] Add XMLSchemaCollectionDefinition,
XMLNamespaceDefinition, and XMLTypeDefinition to jOOQ-meta
2022-06-10 15:57:14 +02:00
Lukas Eder
74208f3398 [jOOQ/jOOQ#1049] Better GREATEST() and LEAST() emulations for SQL Server using MAX() or MIN() with VALUES() correlated derived table 2022-06-10 09:00:14 +02:00
Lukas Eder
5b26e7b827 [jOOQ/jOOQ#13650] Settings.emulateMultiset should have NestedCollectionEmulation.JSON as default in PostgreSQL 2022-06-08 16:25:23 +02:00
Lukas Eder
abbcbd40b0 [jOOQ/jOOQ#13647] DefaultRecordUnmapper should cache AbstractRow and record type 2022-06-08 12:36:37 +02:00
Lukas Eder
afc404eb44 [jOOQ/jOOQ#13643] Wrong result column type for requested conversion when reading JSONB_ARRAY nested in ROW in DB2 2022-06-08 10:57:04 +02:00
Lukas Eder
9672f84197 Re-generated example code 2022-06-08 10:56:51 +02:00
Lukas Eder
b58a8573ec [jOOQ/jOOQ#13641] Remove outdated issue reference 2022-06-07 14:10:03 +02:00
Lukas Eder
4a58988014 [jOOQ/jOOQ#7508] Fixed OSS edition syntax 2022-06-07 14:09:50 +02:00
Lukas Eder
b3a044b621 [jOOQ/jOOQ#13069] Revert prototype 2022-06-07 12:01:24 +02:00
Lukas Eder
151cd06a82 [jOOQ/jOOQ#13634] Support this mapping() method also in Scala 2022-06-03 11:14:48 +02:00
Lukas Eder
4c92db68c6 [jOOQ/jOOQ#13069] Deactivate the experimental feature for now 2022-06-03 10:39:58 +02:00
Lukas Eder
1d943c9f58 [jOOQ/jOOQ#13399] jOOQ-checker should system property defaults that
apply to the entire checked code
2022-06-02 21:16:56 +02:00
Lukas Eder
c98f4cf6f7 [jOOQ/jOOQ#13634] Add Field<Record[N]>.mapping(Function[N]<T[N], E>): Field<E> kotlin extension functions 2022-06-02 21:16:39 +02:00
Lukas Eder
b8f2dc5b17 [jOOQ/jOOQ#13632] DDLDatabase should have a sql property, as an alternative to scripts 2022-06-02 12:53:47 +02:00
Lukas Eder
a3fdbba5e3 [jOOQ/jOOQ#7508] Emulate only if path root child is the DML target table 2022-06-02 12:14:55 +02:00
Lukas Eder
2c866319b7 [jOOQ/jOOQ#7508] Add support for implicit joins in DML 2022-06-02 10:47:39 +02:00
Lukas Eder
2bd740ecca [jOOQ/jOOQ#13631] Add Context.topLevel() and Context.topLevelForLanguageContext() to give access to the top level QueryPart type that is being rendered 2022-06-02 09:50:13 +02:00
Lukas Eder
91438c5122 [jOOQ/jOOQ#9335] The Unit vs T specialisation isn't necessary in kotlin 2022-06-01 09:58:52 +02:00
Lukas Eder
7ef55aff8c [jOOQ/jOOQ#9335] Add a jooq-kotlin-coroutines extensions module 2022-06-01 09:28:00 +02:00
Lukas Eder
e3d7d96fe0 [jOOQ/jOOQ#13605] Don't use deprecated constructor 2022-05-31 14:27:40 +02:00
Lukas Eder
3dfe4750dc [jOOQ/jOOQ#13611] UnsupportedOperationException when selecting single
nested row with JSON column
2022-05-31 14:09:14 +02:00
Lukas Eder
5bc5261690 [jOOQ/jOOQ#13605] Add explicit jackson core dependency, too 2022-05-31 14:02:18 +02:00
Lukas Eder
768f5033b4 [jOOQ/jOOQ#13619] Revert this for now, until compilation issues are understood 2022-05-31 12:29:08 +02:00