Commit Graph

12627 Commits

Author SHA1 Message Date
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
Lukas Eder
ca4964b9aa [jOOQ/jOOQ#9483] Add XMLDatabase support
This includes:

- [jOOQ/jOOQ#15745] TableDefinition.getTable() should return better meta data
2023-10-24 10:02:01 +02:00
Lukas Eder
85c42745ee [jOOQ/jOOQ#11263] Add KeyColumnUsage.positionInUniqueConstraint to the InformationSchema for use with XMLDatabase 2023-10-24 09:35:34 +02:00
Lukas Eder
6f93425854 [jOOQ/jOOQ#14551] [jOOQ/jOOQ#15731] Use landing page link 2023-10-23 17:38:25 +02:00
Lukas Eder
7fc4025f43 [jOOQ/jOOQ#14551] [jOOQ/jOOQ#15731] Add tip for commercial only features 2023-10-23 17:03:34 +02:00
Lukas Eder
d5bcd18e05 [jOOQ/jOOQ#8283] BatchCRUD does not update optimistic locking version
and timestamp values in UpdatableRecord
2023-10-23 16:29:45 +02:00
Lukas Eder
5002cea5c6 [jOOQ/jOOQ#15735] Ill-formed Javadoc causes JDK 21 javadoc tool to crash 2023-10-23 10:01:58 +02:00
Lukas Eder
28e5653c28 [jOOQ/jOOQ#15595] DefaultStringBinding should bind java.sql.Clob for
CLOB types in Oracle MERGE statements

This includes:

- [jOOQ/jOOQ#15724] BindingSetStatementContext should reference actual
ExecuteContext, if available
2023-10-20 12:01:38 +02:00
Lukas Eder
fb351a48f2 [jOOQ/jOOQ#15702] Reactive transaction hangs when exception thrown in
lambda constructing reactive flow
2023-10-12 15:00:58 +02:00
Lukas Eder
2d165c7c32 Sort list 2023-10-10 09:26:31 +02:00
Lukas Eder
124e90c9e0
Merge pull request #15693 from lhauspie/main
Fix a typo in a Tip
2023-10-10 09:22:49 +02:00
Logan HAUSPIE
52f56673b1
Fix a typo in a Tip 2023-10-09 23:59:00 +02:00
Lukas Eder
5b9f5eb161 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Support DEFAULT values in INSERT 2023-10-05 16:30:27 +02:00