Commit Graph

12600 Commits

Author SHA1 Message Date
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
Lukas Eder
0b0e73ce87 [jOOQ/jOOQ#15687] HANA sort indirection doesn't work with bind values 2023-10-05 16:01:39 +02:00
Lukas Eder
2b77563721 [jOOQ/jOOQ#15686] Generated DEFAULT expressions should always be
syntactically valid for all data types in HANA
2023-10-05 15:35:49 +02:00
Lukas Eder
b82c6a3e91 [jOOQ/jOOQ#15685] Emulate DEFAULT expression in multi row INSERT .. VALUES, where that is emulated with INSERT .. SELECT 2023-10-05 14:25:58 +02:00
Lukas Eder
0d83a4894a [jOOQ/jOOQ#15682] Handle DEFAULT VALUES as well 2023-10-05 12:38:19 +02:00
Lukas Eder
499a79792b [jOOQ/jOOQ#15682] Emulate INSERT .. DEFAULT VALUES for dialects where no DEFAULT expression exists for DML
This includes:

- [jOOQ/jOOQ#15683] Incorrect DEFAULT values generated for Informix
- [jOOQ/jOOQ#15684] Add support for POSITION() in Informix via INSTR
2023-10-05 12:21:48 +02:00
Lukas Eder
1d5b43ba5a Merge branch 'main' of github.com:jOOQ/jOOQ 2023-10-05 12:20:30 +02:00
Lukas Eder
b6c28cd906 [jOOQ/jOOQ#11251] Add emulation support for IF [ NOT ] EXISTS to MySQL for DDL on INDEX and VIEW objects 2023-10-04 17:26:17 +02:00
Lukas Eder
5499ca8f61 [jOOQ/jOOQ#15627] Add parser support for functions without parameter
names
2023-10-04 15:43:27 +02:00
Lukas Eder
e17ad6d31b [jOOQ/jOOQ#13301] Allow kotlin pojos to not have defaulted constructor parameters 2023-10-04 14:32:47 +02:00
Lukas Eder
5e066d0a53 [jOOQ/jOOQ#15677] Make sure CHECK constraint ordering is stable 2023-10-04 11:01:19 +02:00
Lukas Eder
be25d7126f [jOOQ/jOOQ#15677] Make sure CHECK constraint ordering is stable 2023-10-03 17:37:17 +02:00
Lukas Eder
4bce9f79b7 [jOOQ/jOOQ#15677] Code generator doesn't generate multiple check constraints for DOMAIN types 2023-10-03 15:53:24 +02:00
Lukas Eder
9fa41c4743 [jOOQ/jOOQ#15673] Domains aren't generated if they don't have a CHECK constraint associated with them, in HSQLDB 2023-10-03 11:28:34 +02:00
Lukas Eder
f5315bec35 [jOOQ/jOOQ#15668] INSERT .. ON DUPLICATE KEY UPDATE emulation mustn't silently insert the last row only in Derby multi row inserts 2023-10-02 16:29:37 +02:00
Lukas Eder
bfc88406bb [jOOQ/jOOQ#15504] Query::isExecutable should be checked in the R2DBC, allowing no-ops for non-executable queries 2023-10-02 11:56:42 +02:00
Lukas Eder
178e9add3f [jOOQ/jOOQ#15442] Upgrade dependencies 2023-10-02 09:35:37 +02:00
Lukas Eder
8d7c5d7b7c [jOOQ/jOOQ#15632] OSS edition fix 2023-10-02 09:31:07 +02:00
Lukas Eder
8312478a1d [jOOQ/jOOQ#15442] Upgrade dependencies 2023-10-02 09:30:57 +02:00
Lukas Eder
fb514760df [jOOQ/jOOQ#15658] Copy paste errors in likeIgnoreCase and containsIgnoreCase Javadoc 2023-09-29 16:59:31 +02:00
Lukas Eder
0e4b997fd0
Merge pull request #15658 from schnapster/fix-ilike-not-docs
Clean up wrong NOTs in ILIKE docs
2023-09-29 16:54:33 +02:00
Lukas Eder
2923e4aa77 [jOOQ/jOOQ#15632] Support INSERT .. ON DUPLICATE KEY UPDATE 2023-09-29 16:47:13 +02:00
Lukas Eder
6e26879228 [jOOQ/jOOQ#15564] MutablePOJOMapper should be able to map to instance,
even if there isn't a default constructor

This fixes:

- [jOOQ/jOOQ#15559] KotlinGenerator - isKotlinNotNullPojoAttributes
setting prevents generated DAO to set serial ID to pojo
2023-09-29 16:46:32 +02:00
Lukas Eder
d92b678e16 Re-generated example code 2023-09-29 16:45:27 +02:00
Napster
5ca94d3ebe
Clean up wrong NOTs in ILIKE docs 2023-09-29 15:40:37 +03:00
Lukas Eder
526e259b6b [jOOQ/jOOQ#15650] DefaultConfiguration doesn't serialize AuditProvider or TransformProvider 2023-09-28 15:06:30 +02:00
Lukas Eder
af4324acbe [jOOQ/jOOQ#15619] On JDK 21, generated code should apply "this-escape" warning suppression 2023-09-28 14:37:17 +02:00
Lukas Eder
70f2c22335 [jOOQ/jOOQ#2682] [jOOQ/jOOQ#15632] Handle UPDATE .. SET
UPDATE .. SET must not produce rows that will no longer be accessible under any policy, so for UPDATE, a policy might generate 2 predicates. A first one for the WHERE part to allow only updates on rows that already are valid according the policy, and a second one to check if the SET clause will produce rows that will still be valid.
2023-09-28 12:53:22 +02:00