Commit Graph

12085 Commits

Author SHA1 Message Date
Lukas Eder
d9e391aef6 [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-15 17:50:05 +01:00
Lukas Eder
d4e16bffbc [jOOQ/jOOQ#14803] BlobBinding and ClobBinding should fall back to byte[] and String binding if unavailable 2023-03-15 17:38:55 +01:00
Lukas Eder
1ace3c1a25 [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-15 17:06:26 +01:00
Lukas Eder
db0396033f [jOOQ/jOOQ#14791] SQLDialect version check throws NumberFormatException
in Percona DB
2023-03-15 10:36:25 +01:00
Lukas Eder
701fb31f8b [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-14 20:00:09 +01:00
Lukas Eder
3116f0e64a [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-14 19:37:47 +01:00
Lukas Eder
73df9474ef [jOOQ/jOOQ#14790] Add DataType.isUUID() 2023-03-14 19:36:07 +01:00
Lukas Eder
490f5b26a6 [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-14 12:32:15 +01:00
Lukas Eder
0dd6b0526e [jOOQ/jOOQ#14780] Correctly annotate SIMILAR TO operator 2023-03-13 10:05:15 +01:00
Lukas Eder
75bf7e6b0e [jOOQ/jOOQ#11485] Support ABSENT ON NULL 2023-03-13 10:05:02 +01:00
Lukas Eder
50e06ebd94 [jOOQ/jOOQ#11485] Trino isn't a commercial dialect 2023-03-13 09:26:40 +01:00
Lukas Eder
ab1c855406 [jOOQ/jOOQ#6116] [jOOQ/jOOQ#11687] Use internal API for partitionBy()
The JoinTable::construct implementation should use internal API for partitionBy() calls, in order to avoid instrumentation on the Support annotation. Otherwise, various integration tests are going to be skipped.
2023-03-13 09:20:43 +01:00
Lukas Eder
dbd045f717 [jOOQ/jOOQ#14777] Add <E, R : Record1<E>>ResultQuery<R>.fetchValue(): E?
extension method to kotlin
2023-03-13 09:08:30 +01:00
Lukas Eder
d8341ce9ee [jOOQ/jOOQ#11485] Add support for Trino DB - WIP 2023-03-10 15:16:13 +01:00
Lukas Eder
35a5d3afd4 [jOOQ/jOOQ#14764] Avoid dialect version lookup in AbstractDatabase, if
unnecessary
2023-03-09 10:42:53 +01:00
Lukas Eder
20117b0ac8 [jOOQ/jOOQ#13694] Stop using removed API 2023-03-08 16:06:34 +01:00
Lukas Eder
7d629bb3ef [jOOQ/jOOQ#13694] Remove pre 3.8 deprecated API and pre 3.8 documentation 2023-03-08 15:37:03 +01:00
Lukas Eder
5988833d09 Release 3.19.0-SNAPSHOT 2023-03-08 13:41:09 +01:00
Lukas Eder
c05fd578e2 [jOOQ/jOOQ#14763] Update maven-plugin-api and maven-core depedency 2023-03-08 11:52:16 +01:00
Lukas Eder
1a65c70443 [jOOQ/jOOQ#11015] Fix for SQL Server as well 2023-03-07 10:36:28 +01:00
Lukas Eder
54bc17d766 [jOOQ/jOOQ#11015] CockroachDB needs more fixing
See: https://github.com/cockroachdb/cockroach/issues/98122. To play safe, we're casting all null literals and bind values of unknown type to the known column type in VALUES()
2023-03-07 09:49:03 +01:00
Lukas Eder
275df337f3 [jOOQ/jOOQ#11015] Fix for CockroachDB as well 2023-03-07 09:14:51 +01:00
Lukas Eder
75efd8b6f7 [jOOQ/jOOQ#11015] Fix for YugabyteDB as well 2023-03-06 12:56:06 +01:00
Lukas Eder
50458ba9b1 [jOOQ/jOOQ#11015] Fix for Derby as well 2023-03-06 11:40:39 +01:00
Lukas Eder
c13e781b8a [jOOQ/jOOQ#11015] Syntax error when data type cannot be inferred from
SQL NULL literals in VALUES()
2023-03-03 17:00:39 +01:00
Lukas Eder
2b5cc36086 [jOOQ/jOOQ#14742] Fix regressions. These still don't work in MariaDB:
- INSERT INTO t VALUES ((SELECT .. FROM t))
- DELETE FROM t USING t AS u WHERE u.x = (SELECT .. FROM t)
2023-03-03 13:00:53 +01:00
Lukas Eder
57204a93cc [jOOQ/jOOQ#14657] Nesting MULTISET/ROW/MULTISET/ROW with ad-hoc converters and JSON emulation results in ClassCastException 2023-03-03 10:51:33 +01:00
Lukas Eder
a5cc3b03ad [jOOQ/jOOQ#11126] Avoid calling AbstractQueryPart::equals in Coerce 2023-03-02 17:15:00 +01:00
Lukas Eder
ce69995c5f [jOOQ/jOOQ#14747] Speed up AbstractRow.equals() and hashCode() when comparing with other AbstractRow 2023-03-02 16:43:32 +01:00
Lukas Eder
4838334495 [jOOQ/jOOQ#14371] Slow TableAlias::equals implementation, when argument type is TableImpl 2023-03-02 16:05:31 +01:00
Lukas Eder
9fb447315f [jOOQ/jOOQ#14742] Remove MariaDB's self-reference-in-DML-subquery restriction workaround 2023-03-02 10:44:24 +01:00
Lukas Eder
43f42acd31 [jOOQ/jOOQ#14736] PostgreSQL Numeric array type with precision/scale too large in generated code 2023-03-02 10:32:47 +01:00
Lukas Eder
d91bb0c31f [jOOQ/jOOQ#14586] Update more third party dependencies 2023-03-02 09:53:42 +01:00
Lukas Eder
c36e1e17a5 Re-generated code 2023-03-02 09:53:34 +01:00
Lukas Eder
b959830be9 [jOOQ/jOOQ#14738] Add parser support for Snowflake's EQUAL_NULL function 2023-03-02 09:36:04 +01:00
Lukas Eder
e3e7670562 [jOOQ/jOOQ#14730] Push down ScopeMappable marker interface from
AbstractField to AbstractWindowFunction and TableFieldImpl
2023-03-01 16:44:56 +01:00
Lukas Eder
b28af066f8 [jOOQ/jOOQ#14731] Use LazyName in AbstractParam 2023-03-01 16:44:41 +01:00
Lukas Eder
942c89bf75 [jOOQ/jOOQ#14727] Generated TRecord.from(IT) method behaves differently from Record.from() with respect to NOT NULL DEFAULT columns 2023-03-01 13:44:58 +01:00
Lukas Eder
2a9057ccbe [jOOQ/jOOQ#14723] Work around Vertica's ERROR: Subqueries not allowed in target of insert limitation 2023-02-28 17:10:10 +01:00
Lukas Eder
08861900a9 [jOOQ/jOOQ#14722] Add bitwise aggregate function support for Vertica 2023-02-28 16:53:48 +01:00
Lukas Eder
4941d75b59 [jOOQ/jOOQ#9818] Get view source code from org.jooq.Meta views 2023-02-28 16:30:04 +01:00
Lukas Eder
efdf5d98ec [jOOQ/jOOQ#8609] MemSQL does not support "nested scalar subselects in
project list"
2023-02-28 09:51:42 +01:00
Lukas Eder
9dde94a290 [jOOQ/jOOQ#12421] [jOOQ/jOOQ#14718] Add dialect versions for MEMSQL 2023-02-28 09:36:28 +01:00
Lukas Eder
57102edd66 [jOOQ/jOOQ#11355] Fix MARIADB RequiredVersion 2023-02-28 09:26:42 +01:00
Lukas Eder
3128345a74 [jOOQ/jOOQ#14437] Get this to work on H2 as well 2023-02-27 16:59:35 +01:00
Lukas Eder
8039850d7c [jOOQ/jOOQ#14437] UnsupportedOperationException when selecting row with
YearToSecond
2023-02-27 16:26:38 +01:00
Lukas Eder
193b9caf2b [jOOQ/jOOQ#14713] Add support for interval types in DefaultConverterProvider 2023-02-27 16:17:19 +01:00
Lukas Eder
ebb5528609 [jOOQ/jOOQ#14694] Fix regression 2023-02-27 12:41:59 +01:00
Lukas Eder
dbeafea01b [jOOQ/jOOQ#14694] Re-wrap actual Val, don't create a ConvertedVal
The initial fix attempted to create a ConvertedVal from the original Val, but that didn't always produce the required bind value casts, e.g. in Firebird. When jOOQ's internals create a Val (as opposed to the user), then the interesting value is really only the value, not the wrapper, so we can discard the temporary wrapper as soon as we have explicit type information.

As an aside, it is particularly important not to apply this logic e.g. when parsing / translating SQL, in case of which we currently still rely on Val identity for caching (!)
2023-02-27 11:01:33 +01:00
Lukas Eder
add0a771d8 [jOOQ/jOOQ#14711] Add missing set(String, Param) and setLocal(String, Param) overloads 2023-02-27 09:36:16 +01:00