Commit Graph

11983 Commits

Author SHA1 Message Date
Lukas Eder
0590c6b3ea [jOOQ/jOOQ#14573] Don't refresh if only identity is requested
Before this new feature set, we used to refresh only when generated keys didn't succeed, i.e. when columns other than the identity were requested. This must be maintained to avoid unnecessary queries.
2023-02-15 13:11:55 +01:00
Lukas Eder
b7a392066f [jOOQ/jOOQ#14573] Add Settings.returnDefaultOnUpdatableRecord and Settings.returnComputedOnUpdatableRecord 2023-02-15 11:43:39 +01:00
Lukas Eder
e14ebc33d8 [jOOQ/jOOQ#14641] Settings.emulateMultiset should use NestedCollectionEmulation.JSONB as default again, in PostgreSQL 2023-02-15 10:08:58 +01:00
Lukas Eder
73a7b626fe [jOOQ/jOOQ#11355] Log warning when unsupported dialect version is being used
This includes:
- [jOOQ/jOOQ#14635] Single message JooqLogger doesn't work
2023-02-14 14:43:44 +01:00
Lukas Eder
1c8b062a23 [jOOQ/jOOQ#13758] Support PostgreSQL 15 in JDBCUtils 2023-02-14 13:22:31 +01:00
Lukas Eder
1bf64769b4 [jOOQ/jOOQ#14634] Deprecate transformInConditionSubqueryWithLimitToDerivedTable configuration and offer transformation in the jOOQ Open Source Edition 2023-02-14 10:01:15 +01:00
Lukas Eder
ddb6529159 [jOOQ/jOOQ#14631] Add parser support for SQLite's STRICT tables 2023-02-14 08:58:40 +01:00
Lukas Eder
3de4b0eff3 [jOOQ/jOOQ#14611] Make this work in Derby
inline((Object) null) may require a cast in some RDBMS, e.g. Derby. We
have to provide the field reference to the Param in order to be able to
cast the NULL literal properly.
2023-02-13 17:30:07 +01:00
Lukas Eder
38f2ccef8a [jOOQ/jOOQ#14534] Add <generatedAnnotationJooqVersion/> option to the code generator 2023-02-13 17:06:26 +01:00
Lukas Eder
f1233381bf [jOOQ/jOOQ#14628] Missing default information on DOMAIN types that get
an overridden DEFAULT by CREATE TABLE
2023-02-13 15:37:31 +01:00
Lukas Eder
a716afb4ad [jOOQ/jOOQ#14618] Missing nullability information on nullable DOMAIN types that are made non-null by CREATE TABLE 2023-02-13 11:49:44 +01:00
Lukas Eder
a37ddfff2b [jOOQ/jOOQ#14621] Inlining isn't necessary 2023-02-13 10:42:33 +01:00
Lukas Eder
de3ac26a3c [jOOQ/jOOQ#14621] Work around a YugabyteDB regression querying the INFORMATION_SCHEMA.ATTRIBUTES table 2023-02-13 10:38:42 +01:00
Lukas Eder
abd1b4ecf1 [jOOQ/jOOQ#14611] Added missing emulation dialects 2023-02-10 16:00:00 +01:00
Lukas Eder
2fb2c6ab6a [jOOQ/jOOQ#14611] Support WITH CHECK OPTION and WITH READ ONLY in other dialects 2023-02-10 15:40:00 +01:00
Lukas Eder
e75295ea2e [jOOQ/jOOQ#10014] Infinite loop in code generation templating language if a parameter is forgotten 2023-02-10 13:47:11 +01:00
Lukas Eder
b7b9801c68 [jOOQ/jOOQ#14586] Update third party dependencies 2023-02-09 17:44:41 +01:00
Lukas Eder
627a3105bc [jOOQ/jOOQ#14595] Support parsing WITH READ ONLY and WITH CHECK OPTION
clauses
2023-02-09 16:16:35 +01:00
Lukas Eder
cbd22b04bb [jOOQ/jOOQ#14594] Support parsing whitespace between : and named parameter identifier 2023-02-09 16:02:34 +01:00
Lukas Eder
12cc59db3c [jOOQ/jOOQ#14592] Don't fail in OSS edition 2023-02-09 15:44:47 +01:00
Lukas Eder
c8d668b5b4 [jOOQ/jOOQ#14592] Add parser support for T-SQL table hints without WITH keyword 2023-02-09 15:43:26 +01:00
Lukas Eder
ae21a35eb9 [jOOQ/jOOQ#14571] Fix regression of [jOOQ/jOOQ#13574] for Oracle
UpdatableRecord::merge produces its update count in ctx.rows() for Oracle (and some others). That update count was discarded previously, although prior to fixing [jOOQ/jOOQ#14571], the initial value of result = 1 coincidentally produced the expected result.
2023-02-09 11:22:11 +01:00
Lukas Eder
fd32a9f0bc [jOOQ/jOOQ#14598] Exception while executing meta query on MySQL 5.6: Unknown column 'information_schema.COLUMNS.GENERATION_EXPRESSION' 2023-02-09 10:17:41 +01:00
Lukas Eder
9124f25482 [jOOQ/jOOQ#14599] setAllToExcluded also sets fields not specified in
insert to excluded when using INSERT .. SET syntax
2023-02-09 09:23:59 +01:00
Lukas Eder
24ae7eb51e [jOOQ/jOOQ#14571] Regression: UpdateQuery.execute() with RETURNING clause returns 1 even when no records were updated 2023-02-08 17:08:16 +01:00
Lukas Eder
9ef3f9ebae [jOOQ/jOOQ#14564] KotlinGenerator generates invalid code in equals() and hashCode() methods for inline value class fields 2023-02-08 15:53:18 +01:00
Lukas Eder
3cdbc6abaa [jOOQ/jOOQ#14357] Use ? as parameter marker on MySQL, MariaDB when using
R2DBC
2023-02-08 14:41:45 +01:00
Lukas Eder
2eca7a83bd [jOOQ/jOOQ#14586] Update third party dependencies 2023-02-08 14:13:33 +01:00
Lukas Eder
d2f2258d87 [jOOQ/jOOQ#14581] Fix optional parameter behaviour 2023-02-08 11:07:22 +01:00
Lukas Eder
f1ac75ac77 [jOOQ/jOOQ#13593] [jOOQ/jOOQ#14581] BIT_GET and BIT_SET transformations 2023-02-07 13:40:39 +01:00
Lukas Eder
56d5cd6c3e [jOOQ/jOOQ#14581] Support 3-arg version of BIT_SET 2023-02-07 11:42:28 +01:00
Lukas Eder
99ade22a1f [jOOQ/jOOQ#14581] Add support for BIT_SET or BIT_GET functions 2023-02-07 10:37:02 +01:00
Lukas Eder
c04506e89d [jOOQ/jOOQ#14584] Add bitwise operation support for EXASOL 2023-02-07 09:46:36 +01:00
Lukas Eder
7b2a4964d2 [jOOQ/jOOQ#13656] More SQL Server 2022 support
- [jOOQ/jOOQ#14578] DISTINCT predicate
- [jOOQ/jOOQ#14579] LEFT_SHIFT and RIGHT_SHIFT
- [jOOQ/jOOQ#14580] BIT_COUNT
2023-02-06 15:42:24 +01:00
Lukas Eder
0b37771f9a [jOOQ/jOOQ#14574] Meta::getTables returns tables of type TableType.TABLE when they're actually system views 2023-02-06 10:06:46 +01:00
Lukas Eder
affc154e40 [jOOQ/jOOQ#8779] Tentative example for native image compilation 2023-02-06 09:05:23 +01:00
Lukas Eder
7e88f67c7c [jOOQ/jOOQ#9085] Generate FILTER clause by default 2023-02-06 09:04:01 +01:00
Lukas Eder
a8df679ebd [jOOQ/jOOQ#13640] Re-generate code 2023-01-27 17:35:37 +01:00
Lukas Eder
097f26e0d1 [jOOQ/jOOQ#13640] Move QuantifiedComparisonCondition to QOM API
- Refactored it into individual types (e.g. EqQuantified, NeQuantified)
- Fix a regression in Array caused by [jOOQ/jOOQ#14560]
2023-01-27 16:29:00 +01:00
Lukas Eder
ac48cb7ad5 [jOOQ/jOOQ#14561] Rename various QOM accessors / mutators from ()
to ()
2023-01-27 11:19:17 +01:00
Lukas Eder
eb6ce5087e [jOOQ/jOOQ#14560] Refactor QuantifiedSelectImpl into separate subtypes 2023-01-27 11:05:55 +01:00
Lukas Eder
361fd95cc9 [jOOQ/jOOQ#14555] Improved emulation of row value expression predicates of degree 3+ 2023-01-26 15:05:19 +01:00
Lukas Eder
860a40493b [jOOQ/jOOQ#13640] Fixed regression 2023-01-26 15:04:39 +01:00
Lukas Eder
963cac8b5f [jOOQ/jOOQ#13640] Make RowEq<T extends Row> et al. generic 2023-01-26 14:00:38 +01:00
Lukas Eder
4d45feeacc [jOOQ/jOOQ#13640] Add RowEq, RowNe, RowGt, RowGe, RowLt, RowLe
This includes:

- [#12907] Add a QOM.UConvertibleOperator utility with methods like ()
2023-01-26 13:54:48 +01:00
Lukas Eder
3ce91d5f50 [jOOQ/jOOQ#14553] Some QOM mutators of optional function parameters are annotated @Nullable, when they are not 2023-01-26 10:03:20 +01:00
Lukas Eder
7de8f388d0 [jOOQ/jOOQ#13592] More tips 2023-01-26 09:48:17 +01:00
Lukas Eder
76a0519d22 [jOOQ/jOOQ#7512] Emulate LATERAL on SQL Server for table lists 2023-01-25 14:39:06 +01:00
Lukas Eder
b293f64a05 [jOOQ/jOOQ#14548] UOperator[N] QOM types should generate both named
accessors and mutators
2023-01-25 14:09:37 +01:00
Lukas Eder
83df1cad45 [jOOQ/jOOQ#14546] Make also UOperator[N] recursive 2023-01-25 13:47:38 +01:00