Commit Graph

13688 Commits

Author SHA1 Message Date
Lukas Eder
46e8a56245 [jOOQ/jOOQ#14140] DiagnosticsListener Javadoc should link to manual 2025-03-07 13:33:07 +01:00
Lukas Eder
7e132ce7cf [jOOQ/jOOQ#18098] Record::key produces unattached records 2025-03-07 09:41:54 +01:00
Lukas Eder
0a4a0a87c9 [jOOQ/jOOQ#17343] Added more Javadoc 2025-03-05 15:40:07 +01:00
Lukas Eder
c3f5423240 [jOOQ/jOOQ#17343] DiagnosticsConnection.ON does not retain the
internally created DiagnosticsConnection's caches
2025-03-05 15:34:44 +01:00
Lukas Eder
bbb6c53f2d [jOOQ/jOOQ#18078] DiagnosticsListener::duplicateStatements event isn't
triggered for DiagnosticsConnection.ON setting
2025-03-05 14:22:12 +01:00
Lukas Eder
8ddf0fecd4 [jOOQ/jOOQ#18043] Add MySQL and MariaDB support for ALTER TABLE .. SET
NOT NULL / DROP NOT NULL
2025-02-28 14:52:49 +01:00
Lukas Eder
859c5b73a5 [jOOQ/jOOQ#15742] Add more tips 2025-02-28 14:52:15 +01:00
Lukas Eder
65bb46d315 [jOOQ/jOOQ#18043] Add MySQL and MariaDB support for ALTER TABLE .. SET
NOT NULL / DROP NOT NULL
2025-02-26 16:19:53 +01:00
Lukas Eder
176588668f [jOOQ/jOOQ#18059] Fix regression 2025-02-26 15:49:01 +01:00
Lukas Eder
e627069338 [jOOQ/jOOQ#18059] binary data of type byte[] is not array typed 2025-02-26 14:42:07 +01:00
Lukas Eder
afa4233b40 [jOOQ/jOOQ#18059] ArrayStoreException when using Converter<T[][], U[][]> with empty arrays 2025-02-26 14:35:02 +01:00
Lukas Eder
dd1d06598d [jOOQ/jOOQ#18052] ClassCastException in ArrayConverter when working with
primitive typed int.class component type
2025-02-26 14:02:57 +01:00
Lukas Eder
d2bd0dfffa [jOOQ/jOOQ#18044] Meta.migrateTo() drops column before dropping its
foreign keys or indexes
2025-02-26 13:22:03 +01:00
Lukas Eder
33713718c2 [jOOQ/jOOQ#18047] Include fields and values lengths in "The number of values must match the number of fields" error message 2025-02-26 10:54:31 +01:00
Lukas Eder
e19cd25b67 Release 3.20.2-SNAPSHOT 2025-02-21 17:09:52 +01:00
Lukas Eder
4fa569282b Release 3.20.1 2025-02-21 14:04:40 +01:00
Lukas Eder
ad46edb5c8 [jOOQ/jOOQ#18032] Fix XSD namespace 2025-02-21 08:06:14 +01:00
Lukas Eder
9988b38c37 [jOOQ/jOOQ#18032] Correctly reference the XSD file 2025-02-20 15:59:33 +01:00
Lukas Eder
29c0a0e949 [jOOQ/jOOQ#18032] Generated POJO equals() and hashCode() implementations
shouldn't exclude non-primary key columns by default
2025-02-20 15:57:10 +01:00
Lukas Eder
fe95af2308 [jOOQ/jOOQ#18033] Provide access to AbstractQualifiedRecord methods too 2025-02-20 15:56:33 +01:00
Lukas Eder
9df44ed64c [jOOQ/jOOQ#18032] Generated POJO equals() and hashCode() implementations shouldn't exclude non-primary key columns by default 2025-02-20 15:30:39 +01:00
Lukas Eder
1a9e7b431f [jOOQ/jOOQ#18033] Scala 3.5 problem when calling AbstractTable::getIdentity from generated code 2025-02-20 15:03:32 +01:00
Lukas Eder
eae83f24da Release 3.20.1-SNAPSHOT 2025-02-20 11:12:44 +01:00
Lukas Eder
455fec9cb6 Release 3.20.0 2025-02-19 14:33:19 +01:00
Lukas Eder
4d2a9b769b [jOOQ/jOOQ#18008] HSQLDB is also affected 2025-02-17 17:13:33 +01:00
Lukas Eder
357f781c74 [jOOQ/jOOQ#12637] Fix this for setters as well 2025-02-14 10:18:18 +01:00
Lukas Eder
c92b3ed7a2 [jOOQ/jOOQ#18014] Transaction statements should implement RowCountQuery, not Query 2025-02-14 08:34:23 +01:00
Lukas Eder
ccbc035635 [jOOQ/jOOQ#17926] Code generator should consider effective nullability of computed columns just like that of defaulted columns 2025-02-13 15:55:01 +01:00
Lukas Eder
3badd891d7 Update build 2025-02-13 15:54:49 +01:00
Lukas Eder
c0669023c1 [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Code generation support for stored functions and table valued fns
- Runtime call support for stored functions and table valued functions
2025-02-13 11:36:35 +01:00
Lukas Eder
f4aefdd82a [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Improve array bindings
- Support array lambda functions
2025-02-12 14:10:23 +01:00
Lukas Eder
60fd4f6391 [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Proper location of ALTER TABLE .. ADD FIRST / AFTER
- Add array support (despite JDBC driver limitations)
- Always enable 'delta.feature.allowColumnDefaults' TBLPROPERTIES
- Add binary data type support (bind values, fetching)
2025-02-12 13:31:01 +01:00
Lukas Eder
a5bc7126c6 [jOOQ/jOOQ#18001] Path based policy produces wrong SQL query when used
on INSERT .. ON DUPLICATE KEY UPDATE emulation using MERGE
2025-02-11 15:06:38 +01:00
Lukas Eder
38ec1ca1e0 [jOOQ/jOOQ#17958] Field::contains shouldn't auto-cast citext type to varchar on PostgreSQL 2025-02-11 12:06:20 +01:00
Lukas Eder
292aa9eb75 [jOOQ/jOOQ#17993] ArrayStoreException when using Converters::forArrayComponents 2025-02-11 10:45:51 +01:00
Lukas Eder
0471d2db4e [jOOQ/jOOQ#17986] Wrong combination of DISTINCT ON and QUALIFY emulations 2025-02-10 14:27:37 +01:00
Lukas Eder
0940505242 [jOOQ/jOOQ#17946] Support FOR SHARE locking of rows in SQL Server using HOLDLOCK 2025-02-10 11:44:38 +01:00
Lukas Eder
3108a4d654 [jOOQ/jOOQ#17785] Update NOT CONTAINS Support annotation 2025-02-10 09:16:47 +01:00
Lukas Eder
2a343aab36 [jOOQ/jOOQ#17979] Combining nested rows with the WITH TIES syntax leads to runtime exception in YugabyteDB 2025-02-07 15:06:27 +01:00
Lukas Eder
df288898bb [jOOQ/jOOQ#17965] Invalid SQL generated when using .forUpdate() in combination with implicit joins when using SQL Server
This includes:

- [jOOQ/jOOQ#17972] Wrong FOR UPDATE emulation on SQL Server when tables are aliased
2025-02-07 09:48:41 +01:00
Lukas Eder
2f60f47282 [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Support backslash escaping in string literals
- Support inline COMMENT syntax for CREATE TABLE
- Support DISTINCT ON
- Support GENERATE_SERIES
- Support CTAS and SELECT .. INTO
- Support CREATE MATERIALIZED VIEW with column renames
- Support H2 style MERGE
- Avoid exists(selectOne()), as selectOne() aliases its column and
Databricks has a bug here
- TIMESTAMP datatype (ignore precision)
- Support LIMIT (subquery)
- Use TIME -> TIMESTAMP emulation
- Support INSERT .. DEFAULT VALUES
- Support DELETE .. USING
- Fix CHOOSE (index can't be out of bounds, unlike in MySQL)
2025-02-07 07:57:18 +01:00
Lukas Eder
f4acecfce8 [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Computed column support
- Loader ON DUPLICATE KEY .. UPDATE support
2025-02-06 14:54:23 +01:00
Lukas Eder
db80b8e516 [jOOQ/jOOQ#17966] Add more Javadoc related to reference vs declaration to relevant API, such as Field::as and Table::as 2025-02-06 13:26:43 +01:00
Lukas Eder
219a13b9bd [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP
This includes:

- Support OFFSET
- Support WITH TIES
- Update SchemaMappingListener tests
- Support WITH ORDINALITY
- Support DIVIDE BY
- Fix MERGE
- Support INSERT .. ON DUPLICATE KEY UPDATE
- Support INSERT .. ON CONFLICT .. DO UPDATE
- Support REGEXP operator
- Support LIKE .. ESCAPE
2025-02-06 10:15:02 +01:00
Lukas Eder
d167cfc9d5 [jOOQ/jOOQ#17960] DefaultConverterProvider should attempt to load Jackson's JavaTimeModule, if found on the classpath 2025-02-06 09:00:21 +01:00
Lukas Eder
31839ce5fc [jOOQ/jOOQ#17954] Do use HAVING when QUALIFY contains aggregates 2025-02-05 16:38:08 +01:00
Lukas Eder
b4486c4209 [jOOQ/jOOQ#17785] Revert change for most dialects
The change was introduced because some dialects (BIGQUERY, SQLDATAWAREHOUSE) don't have LIKE .. ESCAPE support, which is a requirement for the historic implementation of CONTAINS, STARTS_WITH, ENDS_WITH. For other dialects, switching to POSITION() is a risk, especially when case insensitive string types are involved, such as PostgreSQL's citext type.
2025-02-05 16:10:59 +01:00
Lukas Eder
44ef3b2f22 [jOOQ/jOOQ#17954] QUALIFY emulation shouldn't use HAVING in the absence of aggregate functions 2025-02-05 15:23:54 +01:00
Lukas Eder
ecd65dbe73 [jOOQ/jOOQ#17947] Nesting row 3 times in a SELECT .. ORDER BY .. LIMIT
query leads to wrong results with dialects that emulate LIMIT or LIMIT
.. WITH TIES with NestedCollectionEmulation.XML
2025-02-05 12:41:56 +01:00
Lukas Eder
7ae77990d9 [jOOQ/jOOQ#17939] ALTER TABLE .. DROP DEFAULT doesn't work for SQL Server quoted column identifiers 2025-01-31 14:04:24 +01:00