Commit Graph

13489 Commits

Author SHA1 Message Date
Lukas Eder
a0c11df4ad [jOOQ/jOOQ#11205] ORA-38104: Columns referenced in the ON Clause cannot
be updated
2023-11-14 14:54:53 +01:00
Lukas Eder
3a3f88778f [jOOQ/jOOQ#14011] ALTER INDEX IF EXISTS raises ORA-11557 2023-11-14 14:53:54 +01:00
Lukas Eder
7f32b79d9e [jOOQ/jOOQ#14256] Oracle is also affected 2023-11-14 11:26:23 +01:00
Lukas Eder
feffd5db90 [jOOQ/jOOQ#15682] Patch defaults also in UPDATE .. SET
Including doing this for SQLite as well.
2023-11-14 09:34:58 +01:00
Lukas Eder
d9a2f7b678 [jOOQ/jOOQ#228] Fix equals() and hashCode() in the UDTPath hierarchy
A UDTPath can have a Table qualifier, in case of which we mustn't use
the UDT for equals() and hashCode() implementations, but make sure the
behaviour is the same as that of a TableField
2023-11-13 14:32:39 +01:00
Lukas Eder
98e739494b [jOOQ/jOOQ#15826] Parser cannot parse undocumented reverse syntactic order of FOR UPDATE and LIMIT clauses from PostgreSQL 2023-11-13 12:23:11 +01:00
Lukas Eder
38a38e2915 [jOOQ/jOOQ#15825] Support parsing a few Oracle DBMS_LOB functions
Support:

- DBMS_LOB.GETLENGTH
- DBMS_LOB.INSTR
- DBMS_LOB.SUBSTR
2023-11-13 11:58:47 +01:00
Lukas Eder
98b39d014d [jOOQ/jOOQ#15824] Add parser support for STRING_AGG() 2023-11-13 11:24:17 +01:00
Lukas Eder
13fefe6390 [jOOQ/jOOQ#15822] Support parsing dynamic intervals in MySQL DATE_ADD() and DATE_SUB() expressions 2023-11-13 11:14:21 +01:00
Lukas Eder
3433145157 [jOOQ/jOOQ#15820] Incorrect query generated when combining SEEK with
GROUP BY
2023-11-13 10:29:09 +01:00
Lukas Eder
8a9b202618 [jOOQ/jOOQ#15815] Avoid duplicate states 2023-11-10 14:04:46 +01:00
Lukas Eder
3a883d2852 [jOOQ/jOOQ#14256] HSQLDB is also affected 2023-11-10 13:50:35 +01:00
Lukas Eder
ecbbb734b4 [jOOQ/jOOQ#15815] Add more emulation support for ALTER TABLE .. DROP
CONSTRAINT IF EXISTS

Support added for:

- Db2
- Firebird
- MariaDB 10.4
- Oracle
- SQL Server
2023-11-10 13:43:16 +01:00
Lukas Eder
0f7869164b [jOOQ/jOOQ#14256] Firebird is also affected 2023-11-10 12:16:10 +01:00
Lukas Eder
94548c0054 Revert "[jOOQ/jOOQ#15442] Upgrade Derby dependency"
The newest version of Derby (10.16) skips registering the
EmbeddedDriver, it seems, so our integration tests fail. I'll
investigate this some other day.
2023-11-09 17:44:58 +01:00
Lukas Eder
2c055b6df8 [jOOQ/jOOQ#15807] Wrong OSS edition API removal 2023-11-09 14:21:20 +01:00
Lukas Eder
f05e9e1bc5 [jOOQ/jOOQ#15807] Avoid calling PRO only method in OSS edition 2023-11-09 14:18:04 +01:00
Lukas Eder
5c9a5d363d [jOOQ/jOOQ#15807] Add parser support 2023-11-09 10:40:56 +01:00
Lukas Eder
bfdc1a8faa [jOOQ/jOOQ#15807] Support nested join trees in Oracle and YugabyteDB 2023-11-09 10:05:20 +01:00
Lukas Eder
a9879eefba [jOOQ/jOOQ#15807] Add leading hint to Oracle and YugabyteDB 2023-11-09 09:32:54 +01:00
Lukas Eder
8f32e73a7f [jOOQ/jOOQ#15807] Remove JoinHint related API from OSS edition 2023-11-09 09:13:11 +01:00
Lukas Eder
519afc4551 [jOOQ/jOOQ#15807] Add MySQL (?), Oracle, YugabyteDB implementations 2023-11-08 17:59:07 +01:00
Lukas Eder
a6d115edd7 [jOOQ/jOOQ#15807] Fix CRDB implementation 2023-11-08 17:23:41 +01:00
Lukas Eder
e2ddc15ff6 [jOOQ/jOOQ#15807] Add support for JOIN algorithm hints
This includes:

- QOM API implementation
- DSL API implementation on Table
- DSL API implementation on SelectJoinStep
- CRDB and SQL Server implementation
2023-11-08 17:12:21 +01:00
Lukas Eder
ba1820d09f [jOOQ/jOOQ#15807] Added QOM API implementation 2023-11-08 14:54:21 +01:00
Lukas Eder
ae88db710d [jOOQ/jOOQ#15808] Support H2's USE INDEX hint 2023-11-08 14:24:48 +01:00
Lukas Eder
d0108ca356 [jOOQ/jOOQ#15803] MetaImpl reports system indexes for Derby 10.16 2023-11-08 13:35:09 +01:00
Lukas Eder
46d1dd8747 [jOOQ/jOOQ#15799] LazyVal::generatesCast should return true 2023-11-08 12:31:59 +01:00
Lukas Eder
702b8b21a1 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Minor refactoring 2023-11-08 11:46:25 +01:00
Lukas Eder
ec1cee732b [jOOQ/jOOQ#15442] Upgrade Derby dependency 2023-11-08 11:46:14 +01:00
Lukas Eder
169493ea8e [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support UPDATE / DELETE .. JOIN 2023-11-07 13:41:46 +01:00
Lukas Eder
99c44d376b [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support UPDATE .. SET ROW = SELECT 2023-11-07 09:21:52 +01:00
Lukas Eder
355675d1d3 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support also UPDATE .. SET ROW 2023-11-07 08:54:43 +01:00
Lukas Eder
06c107a119 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support also MERGE .. SET 2023-11-06 14:05:24 +01:00
Lukas Eder
d508c85c6b Revert "[jOOQ/jOOQ#15751] Revert JSONB::toString to produce JSONB::data in order to log actual bind value in LoggerListener and elsewhere" 2023-11-03 08:29:41 +01:00
Lukas Eder
03435fe3be [jOOQ/jOOQ#15394] Exception thrown inside blocking
TransactionPublishable gets wrapped by DataAccessException unlike when
thrown from non-blocking TransactionPublishable
2023-11-02 16:16:20 +01:00
Lukas Eder
60df91b3e7 [jOOQ/jOOQ#15442] More dependency upgrades 2023-11-02 14:05:58 +01:00
Lukas Eder
311c14202c [jOOQ/jOOQ#15751] Revert JSONB::toString to produce JSONB::data in order to log actual bind value in LoggerListener and elsewhere 2023-11-02 14:05:49 +01:00
Lukas Eder
9da1db409c [jOOQ/jOOQ#15783] Add Javadoc to the Query::bind methods indicating that
they bind values in the rendered order, not the input order
2023-11-02 13:47:43 +01:00
Lukas Eder
aba3bd2f63 [jOOQ/jOOQ#15442] More dependency upgrades 2023-11-02 13:47:10 +01:00
Lukas Eder
06cd229479 [jOOQ/jOOQ#15755] Fix SCALAR_SUBQUERY semantics
The SCALAR_SUBQUERY rendering of a Path (TableFieldImpl) must be avoided when we're currently rendering an implicit JOIN (the decision has already been made). This includes also TableImpl::pathCondition, which needs to 1) keep the path alias as it is, and 2) trigger additional implicit joins, if necessary.
2023-10-27 15:48:50 +02:00
Lukas Eder
e26ef57633 [jOOQ/jOOQ#15767] MiniJAXB::marshal(XMLAppendable, OutputStream) does not flush decorating writer 2023-10-26 17:16:51 +02:00
Lukas Eder
cb1f173fc3 [jOOQ/jOOQ#15752] JSONB inline values should be rendered using
JSONB.data() not JSONB.toString()
2023-10-26 16:54:15 +02:00
Lukas Eder
c5d3ef2fe5 [jOOQ/jOOQ#15760] Compile errors of generated classes using scala 3 2023-10-26 13:19:45 +02:00
Lukas Eder
49fa0bd34c [jOOQ/jOOQ#15755] Add Settings.renderImplicitJoinToManyType: RenderImplicitJoinType to govern the implicit to-many join style 2023-10-25 15:55:15 +02:00
Lukas Eder
b96378c5ac [jOOQ/jOOQ#15754] Add RenderImplicitJoinType.SCALAR_SUBQUERY to allow for configuring the DML implicit join path behaviour also for SELECT 2023-10-25 14:40:31 +02:00
Lukas Eder
c9e2b57e13 [jOOQ/jOOQ#15756] Implicit JOIN implementation for DML is incorrect if
paths navigate self joins
2023-10-25 14:29:21 +02:00
Lukas Eder
8e28aac4c2 [jOOQ/jOOQ#13639] Handle to-many paths in DML 2023-10-25 11:50:37 +02:00
Lukas Eder
1be3ccee42 [jOOQ/jOOQ#14256] H2 is also affected 2023-10-25 10:23:11 +02:00
Lukas Eder
c1e53deee6 [jOOQ/jOOQ#14256] Syntax error when from current_timestamp when precision bind value is specified for Postgres 2023-10-24 16:25:34 +02:00