Commit Graph

12069 Commits

Author SHA1 Message Date
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
Lukas Eder
42e8590d9f [jOOQ/jOOQ#14699] PostgreSQL interval parser handle fractional seconds with interval style iso_8601 2023-02-27 09:26:02 +01:00
Lukas Eder
5bce422978 [jOOQ/jOOQ#14708] Add Queries.batch(): Batch 2023-02-27 08:50:00 +01:00
Lukas Eder
285b3a7332 [jOOQ/jOOQ#14694] Fix regression of [jOOQ/jOOQ#8517] 2023-02-24 21:00:28 +01:00
Lukas Eder
4c63a20d2a [jOOQ/jOOQ#14694] INSERT statement does not apply types to bind values in VALUES clause when using valuesOfRows() 2023-02-24 18:01:55 +01:00
Lukas Eder
849d4ec9e2 [jOOQ/jOOQ#14701] Avoid source dependency on provided scoped class 2023-02-24 14:50:24 +01:00
Lukas Eder
492063521f [jOOQ/jOOQ#14703] SQL Server RETURNING clause emulation for fetching server side computed columns generates incorrect SQL if only computed columns are fetched 2023-02-24 14:19:05 +01:00
Lukas Eder
94af3fdd98 [jOOQ/jOOQ#14701] Let DataAccessException::sqlStateClass be based on SQL Server error codes for SQLStateClass 22 or 23 2023-02-24 12:51:27 +01:00
Lukas Eder
5ebcc5c053 [jOOQ/jOOQ#14696] Wrapping SQLException must copy SQLState and other info from wrapped SQLException 2023-02-23 17:14:29 +01:00
Lukas Eder
cef08e62ed [jOOQ/jOOQ#14656] Improve SQLiteTableDefinition wrt identities 2023-02-23 16:10:41 +01:00
Lukas Eder
a50d3f12b7 [jOOQ/jOOQ#14690] Add parser support for SQLite's WITHOUT ROWID tables 2023-02-23 14:49:14 +01:00
Lukas Eder
b8329abcb0 [jOOQ/jOOQ#14684] Translator duplicates comment only content 2023-02-23 13:51:19 +01:00
Lukas Eder
f5cead42d5 [jOOQ/jOOQ#14077] Added interpreter support 2023-02-23 13:23:24 +01:00
Lukas Eder
8f5399bc82 [jOOQ/jOOQ#14077] Add parser support 2023-02-23 13:00:36 +01:00
Lukas Eder
2f91c57b81 Re-generated example code 2023-02-23 10:01:21 +01:00
Lukas Eder
3e72ac1493 [jOOQ/jOOQ#11150] Add a comment to the code 2023-02-23 10:01:08 +01:00
Lukas Eder
4bf6ff3e52 [jOOQ/jOOQ#12214] onKey(ForeignKey) does not work when tables are aliased 2023-02-22 16:42:56 +01:00