Commit Graph

12020 Commits

Author SHA1 Message Date
Lukas Eder
4bf6ff3e52 [jOOQ/jOOQ#12214] onKey(ForeignKey) does not work when tables are aliased 2023-02-22 16:42:56 +01:00
Lukas Eder
cbc6f0ed95 [jOOQ/jOOQ#14675] Added more Javadoc to DataAccessException 2023-02-22 15:37:27 +01:00
Lukas Eder
e35dfdbe04 [jOOQ/jOOQ#14675] Add a DataException for SQLState 22 and a IntegrityConstraintViolationException for SQLState 23 2023-02-22 15:31:39 +01:00
Lukas Eder
8c2cebaee9 [jOOQ/jOOQ#14671] Wrong column resolved by JoinTable.field(Field), when JoinTable contains aliased tables and lookup uses unaliased tables 2023-02-22 13:04:19 +01:00
Lukas Eder
9051dc1899 [jOOQ/jOOQ#14668] Wrong ON KEY JOIN generated when aliased table appears twice in the JOIN tree 2023-02-22 11:16:05 +01:00
Lukas Eder
dd5cef3626 Merge branch 'main' of github.com:jOOQ/jOOQ into main 2023-02-22 09:37:58 +01:00
Lukas Eder
db6d2abd6f [jOOQ/jOOQ#14648] Add Spatial support to Snowflake 2023-02-21 14:06:24 +01:00
Lukas Eder
7065b2a8dc [jOOQ/jOOQ#10018] No support annotations on kotlin extensions yet 2023-02-21 13:39:02 +01:00
Lukas Eder
14a62a47ef [jOOQ/jOOQ#14648] Add Spatial support to Snowflake 2023-02-21 12:48:29 +01:00
Lukas Eder
abf66f37bd [jOOQ/jOOQ#14653] Support ABSENT ON NULL and NULL ON NULL also on JSON_OBJECTAGG and JSON_ARRAYAGG for Snowflake 2023-02-21 10:46:08 +01:00
Lukas Eder
cb4e8ff49b [jOOQ/jOOQ#14665] Non-boolean field emulation should be NOT NULL aware 2023-02-21 10:33:39 +01:00
Lukas Eder
a31028f9ee [jOOQ/jOOQ#10018] Added kotlin extension methods 2023-02-21 10:01:07 +01:00
Lukas Eder
6cd1481da2 [jOOQ/jOOQ#14653] Add IS JSON support 2023-02-21 09:10:59 +01:00
Lukas Eder
9a641b5b91 [jOOQ/jOOQ#10018] Added kotlin extension methods 2023-02-21 08:42:07 +01:00
Lukas Eder
cb7addce1d [jOOQ/jOOQ#14653] Better handle the null/undefined difference in
JSON_ARRAY
2023-02-20 20:00:47 +01:00
Lukas Eder
694f566df9 [jOOQ/jOOQ#14653] Support JSON_GET_ATTRIBUTE and JSON_GET_ELEMENT 2023-02-20 16:12:51 +01:00
Lukas Eder
848b2b9b8a Still javac 8 compiler hiccups 2023-02-20 15:17:25 +01:00
Lukas Eder
d21c6f2261 [jOOQ/jOOQ#14653] Re-generate Names class 2023-02-20 15:14:57 +01:00
Lukas Eder
0e9b6bfd91 [jOOQ/jOOQ#14660] Work around Snowflake's INSERT .. VALUES limitation of not being able to reference expressions 2023-02-20 15:11:39 +01:00
Lukas Eder
22a77ea842 [jOOQ/jOOQ#14653] Support the JSON (VARIANT) data type 2023-02-20 11:42:59 +01:00
Lukas Eder
0260b160a6 [jOOQ/jOOQ#14653] Fix support annotations on JSON_ARRAYAGG .. RETURNING and JSON_OBJECTAGG .. RETURNING 2023-02-20 09:40:02 +01:00
Lukas Eder
6d6a6a16f1 [jOOQ/jOOQ#14653] Added parser support for OBJECT_AGG() 2023-02-20 09:36:53 +01:00
Lukas Eder
0e67112dbc [jOOQ/jOOQ#14653] Fix regression in MariaDB's JSON_OBJECTAGG 2023-02-20 09:30:24 +01:00
Lukas Eder
a3060161b4 [jOOQ/jOOQ#14658] Get MariaDB dialect up to date 2023-02-20 09:20:08 +01:00
Lukas Eder
88f7d54a87 [jOOQ/jOOQ#13530] [jOOQ/jOOQ#14648] Add runtime support for procs 2023-02-17 17:22:11 +01:00
Lukas Eder
02662afdb7 [jOOQ/jOOQ#14230] Add native support for Snowflake * EXCEPT (columns) syntax 2023-02-17 12:48:49 +01:00
Lukas Eder
b4f340dc18 [jOOQ/jOOQ#14653] Throw OSS error on both types of X_CONSTRUCT funcs 2023-02-17 11:24:54 +01:00
Lukas Eder
2c8d3bc3bf [jOOQ/jOOQ#14653] Avoid backport issues 2023-02-17 10:21:23 +01:00
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