Commit Graph

11992 Commits

Author SHA1 Message Date
Lukas Eder
cf0f392cbb [jOOQ/jOOQ#14653] Properly quote replacement 2023-02-16 19:44:13 +01:00
Lukas Eder
5f20e63ed6 [jOOQ/jOOQ#14653] Patch undefined to mean null 2023-02-16 17:56:53 +01:00
Lukas Eder
b463c3784e [jOOQ/jOOQ#14653] Add SQL/JSON support for the SNOWFLAKE dialect 2023-02-16 15:58:50 +01:00
Lukas Eder
e6937784f9 [jOOQ/jOOQ#12905] [jOOQ/jOOQ#14649] Support LIMIT .. OFFSET with exprs 2023-02-16 14:08:04 +01:00
Lukas Eder
4204ca84bc [jOOQ/jOOQ#14642] Handle MySQL's HY000 for NOT NULL constraint violation 2023-02-16 10:40:39 +01:00
Lukas Eder
f7e2d0acab [jOOQ/jOOQ#14642] Switch row/column iteration order 2023-02-16 10:28:59 +01:00
Lukas Eder
b109886ec1 [jOOQ/jOOQ#14652] Add a SQLExceptionLoggerListener that logs additional information to help debug constraint violations 2023-02-16 10:01:53 +01:00
Lukas Eder
f9012935f5 [jOOQ/jOOQ#14644] LoggerListener::fetchEnd should check if DEBUG logging is enabled 2023-02-16 09:06:09 +01:00
Lukas Eder
7fef0457f4 [jOOQ/jOOQ#14481] Add parser support for bitemporal table queries with system_time and business_time 2023-02-15 14:04:23 +01:00
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