Commit Graph

13668 Commits

Author SHA1 Message Date
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
Lukas Eder
37d93db16f [jOOQ/jOOQ#17928] Generated Javadoc should reference qualified output name of generated objects, not input name 2025-01-31 12:58:30 +01:00
Lukas Eder
695151320b [jOOQ/jOOQ#17932] Outdated manual section "for update clause" regarding
SQL Server implementation
2025-01-31 12:58:14 +01:00
Lukas Eder
6ac0e77f73 [jOOQ/jOOQ#14490] Add a jOOQ-reactor-extensions module offering reactor
specific extensions
2025-01-31 09:45:30 +01:00
Lukas Eder
203a32cdb4 [jOOQ/jOOQ#17920] Wrap also internal subscribers 2025-01-30 19:00:51 +01:00
Lukas Eder
195dc10149 [jOOQ/jOOQ#17823] Do downgrade only for JDK 17+ 2025-01-30 13:14:20 +01:00
Lukas Eder
f9465c0fec [jOOQ/jOOQ#17920] Remove Pro annotation from SubscriberProvider SPI 2025-01-30 10:07:05 +01:00
Lukas Eder
34f0d1518a [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP 2025-01-30 10:04:18 +01:00
Lukas Eder
b59a96fbee [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP 2025-01-24 19:22:29 +01:00
Lukas Eder
78afbdfe12 [jOOQ/jOOQ#14402] Add support for Databricks SQL - WIP 2025-01-24 19:09:23 +01:00
Lukas Eder
e8a43a7352 [jOOQ/jOOQ#17920] Remove wrong annotation 2025-01-24 17:30:22 +01:00
Lukas Eder
d8a72ce86b [jOOQ/jOOQ#17922] Add new AbstractDelegatingResultQuery internal type to avoid excessive default method bytecode generation at JVM startup time 2025-01-24 09:28:51 +01:00
Lukas Eder
3edeb46ae3 [jOOQ/jOOQ#17922] Add new AbstractDelegatingResultQuery internal type to avoid excessive default method bytecode generation at JVM startup time 2025-01-24 09:28:35 +01:00
Lukas Eder
7d30dd24e5 Upgrade Spring dependency 2025-01-24 09:28:31 +01:00
Lukas Eder
a455e01fa2 [jOOQ/jOOQ#17920] Add a new SubscriberProvider SPI that allows for overriding the way jOOQ internals creates reactive streams Subscribers, to allow for making them context aware 2025-01-23 12:22:44 +01:00
Lukas Eder
0a6ec105c6 [jOOQ/jOOQ#17916] Link to manual section from warning log 2025-01-22 17:22:03 +01:00
Lukas Eder
63953b2ea6 [jOOQ/jOOQ#14402] Add SQLDialect.DATABRICKS 2025-01-22 16:41:39 +01:00
Lukas Eder
cfc8c15e5a [jOOQ/jOOQ#14402] Add SQLDialect.DATABRICKS 2025-01-22 16:41:30 +01:00
Lukas Eder
d1bc140020 [jOOQ/jOOQ#9574] Emulate DROP SYNONYM IF EXISTS on HANA 2025-01-21 09:37:08 +01:00
Lukas Eder
72e518f65e [jOOQ/jOOQ#17842] More fixes for H2, Hana, Oracle, SQL Data Warehouse 2025-01-20 19:39:30 +01:00
Lukas Eder
d159affba0 [jOOQ/jOOQ#15906] Fix exception message 2025-01-20 10:33:53 +01:00