Commit Graph

13062 Commits

Author SHA1 Message Date
Lukas Eder
ffd75fdc4d [jOOQ/jOOQ#16651] TableRecords should refresh() themselves for HANA dialect, when any non-identity value should be fetched after an insert 2024-05-06 18:11:49 +02:00
Lukas Eder
5ce6055923 [jOOQ/jOOQ#16648] Add HanaDatabase queries to MetaSQL in order to look up certain objects via DSLContext.meta()
This includes:

- [jOOQ/jOOQ#16650] Generated sequences shouldn't be typed BIGINT by default, if MAXVALUE is larger than Long.MAX_VALUE: For HANA
2024-05-06 16:19:51 +02:00
Lukas Eder
125c2e3f78 [jOOQ/jOOQ#16646] BlobBinding and ClobBinding should fall back to byte[] and String binding also in HANA 2024-05-06 15:17:14 +02:00
Lukas Eder
86c3269f3e [jOOQ/jOOQ#16643] Add parser support for SQLite's TOTAL() aggregate function 2024-05-06 13:09:14 +02:00
Lukas Eder
a4c243bf65 [jOOQ/jOOQ#16644] Add parser support for Teradata's MAXIMUM() and MINIMUM() synonyms for MAX() and MIN() 2024-05-06 11:25:41 +02:00
Lukas Eder
5b315c5a6e [jOOQ/jOOQ#16071] Support MIN_BY() and MAX_BY() in HANA
They're just FIRST_VALUE() and LAST_VALUE(), really...
2024-05-06 11:20:24 +02:00
Lukas Eder
175f908061 [jOOQ/jOOQ#16640] Add HANA support for COLLATE 2024-05-06 10:12:17 +02:00
Lukas Eder
71622957b1 [jOOQ/jOOQ#16638] Let DataAccessException::sqlStateClass be based on
HANA error codes for SQLStateClass 22 or 23
2024-05-06 09:40:58 +02:00
Lukas Eder
5261674a3f [jOOQ/jOOQ#16633] Fix VisitListener regressions 2024-05-03 18:13:53 +02:00
Lukas Eder
3a63e58699 [jOOQ/jOOQ#16633] Add broader DELETE .. USING and UPDATE .. FROM support, using the same emulation as that for DML ORDER BY .. LIMIT
This includes:

- [jOOQ/jOOQ#13412] Emulate UPDATE .. FROM with multiple tables or joins
- [jOOQ/jOOQ#13425] Correctly emulate UPDATE .. FROM .. ORDER BY
- [jOOQ/jOOQ#16631] Error when running DELETE .. USING .. LIMIT in MySQL
- [jOOQ/jOOQ#16632] Wrong emulation of DELETE .. USING .. LIMIT where DELETE .. LIMIT is not natively supported
- [jOOQ/jOOQ#16634] HANA UPDATE statement always repeats target table, even if unnecessary

This doesn't include:

- [jOOQ/jOOQ#16635] Support references to UPDATE .. FROM tables from SET clause in dialects that don't support MERGE
2024-05-03 17:56:27 +02:00
Lukas Eder
e2e7db2f81 [jOOQ/jOOQ#16629] Support CTE column lists with plain SQL templates 2024-05-02 17:48:28 +02:00
Lukas Eder
957999c996 [jOOQ/jOOQ#16628] Rename SQLDialect.ORACLE23C to ORACLE23AI 2024-05-02 17:20:07 +02:00
Lukas Eder
11be888695 [jOOQ/jOOQ#7539] Work around a JDBC bug: https://github.com/ClickHouse/clickhouse-java/issues/1626 2024-05-02 17:09:27 +02:00
Lukas Eder
ead4aee907 [jOOQ/jOOQ#7539] ARRAY unnesting support 2024-05-02 16:36:03 +02:00
Lukas Eder
8e84c3e673 [jOOQ/jOOQ#7539] Add experimental FOR JSON support 2024-05-02 16:12:04 +02:00
Lukas Eder
044a15b7a4 [jOOQ/jOOQ#7539] Support DEFAULT expressions in MetaTable 2024-05-02 16:11:51 +02:00
Lukas Eder
8438fcad93 [jOOQ/jOOQ#7539] Support CURRENT_TIME 2024-05-02 16:11:37 +02:00
Lukas Eder
65fd49978e [jOOQ/jOOQ#7539] Fix JSON_GET_ELEMENT 2024-05-02 14:56:31 +02:00
Lukas Eder
10e7cc3ecd [jOOQ/jOOQ#7539] Support FILTER () and OVER () with JSON_ARRAYAGG 2024-05-02 14:35:55 +02:00
Lukas Eder
76a16d6dd4 [jOOQ/jOOQ#7539] Support functional dependencies in GROUP BY 2024-05-02 13:48:12 +02:00
Lukas Eder
b1c9831beb [jOOQ/jOOQ#7539] ClickHouse 24.4 supports WITH RECURSIVE and QUALIFY 2024-05-02 13:14:16 +02:00
Lukas Eder
b0e26341f5 [jOOQ/jOOQ#16503] Replace org.jooq.conf.* import by explicit imports 2024-05-01 15:59:40 +02:00
Lukas Eder
c13024f734 [jOOQ/jOOQ#16503] Replace org.jooq.tools.* import by explicit imports 2024-05-01 15:36:02 +02:00
Lukas Eder
c2ed464bef [jOOQ/jOOQ#16503] Replace java.util.* import by explicit imports 2024-05-01 15:26:53 +02:00
Lukas Eder
85770ac899 [jOOQ/jOOQ#16503] Remove java.util.function.* import 2024-05-01 15:11:48 +02:00
Lukas Eder
bf597b0a9e [jOOQ/jOOQ#16503] Remove java.util.stream.* import 2024-05-01 14:56:41 +02:00
Lukas Eder
fa0cee0750 [jOOQ/jOOQ#16620] Add parser support for the T-SQL DDL ALTER TABLE .. WITH CHECK clause 2024-05-01 13:48:49 +02:00
Lukas Eder
413cdace62 [jOOQ/jOOQ#16615] Add parser support 2024-05-01 11:44:50 +02:00
Lukas Eder
7bef93b32b [jOOQ/jOOQ#16615] Support BigQuery's ALTER COLUMN SET OPTIONS as a
COMMENT ON COLUMN implementation
2024-05-01 11:37:05 +02:00
Lukas Eder
d0bf1d180f [jOOQ/jOOQ#15637] Emulate DELETE .. USING with MERGE, where available 2024-04-30 16:36:46 +02:00
Lukas Eder
310f3cb266 [jOOQ/jOOQ#16442] Support function forms for AND(), OR(), XOR() 2024-04-30 13:42:55 +02:00
Lukas Eder
f6593f3f38 Build specifics changed 2024-04-29 11:47:18 +02:00
Lukas Eder
4420cf69ad Revert "[jOOQ/jOOQ#15346] Revert doing this for FirebirdDatabase" 2024-04-29 11:47:02 +02:00
Lukas Eder
80b39b8aed [jOOQ/jOOQ#15346] Make this about fixed-length CHAR types only
This includes:

- [jOOQ/jOOQ#16607] Add DataType.hasFixedLength()
2024-04-29 10:08:23 +02:00
Data Geekery CI Bot
0f3733b1c2 Re-generated code 2024-04-27 06:30:17 +02:00
Lukas Eder
de6b5c3217 [jOOQ/jOOQ#16602] Wrong cast type name when casting value to NCLOB in Firebird 2024-04-26 17:51:50 +02:00
Lukas Eder
33b4099e32 [jOOQ/jOOQ#15346] Add a Settings.fetchTrimmedStrings flag to auto-trim
results from certain RDBMS

Apply the flag also to Firebird
2024-04-26 17:44:57 +02:00
Lukas Eder
0ad60ed8d9 [jOOQ/jOOQ#15723] Cache comment Results
We shouldn't lazy stream the result set while fetching more results at the same time! Not all JDBC drivers support this
2024-04-26 17:34:34 +02:00
Lukas Eder
b0d80284f4 [jOOQ/jOOQ#15723] Generate comments also on other PG object types
This includes:

- [jOOQ/jOOQ#16600] Add a <commentsOnDomains/> flag
- [jOOQ/jOOQ#16601] Add more <comment/> support to jooq-meta.xsd
2024-04-26 15:15:48 +02:00
Lukas Eder
8c084188a9 [jOOQ/jOOQ#16494] Remove SQLite specific rendering of quoted identifiers, to behave like other dialects
This includes:

- [jOOQ/jOOQ#16598] Generate backticks for quoted identifiers in SQLite, instead of double quotes
2024-04-26 10:48:25 +02:00
Lukas Eder
c2a4938a78 [jOOQ/jOOQ#16071] Support CRDB, H2, HSQLDB, Postgres, YDB via ARRAY_AGG 2024-04-25 11:12:54 +02:00
Lukas Eder
0221deb57a [jOOQ/jOOQ#16071] Support parsing BigQuery ANY_VALUE(x HAVING MAX y) 2024-04-25 11:12:44 +02:00
Lukas Eder
acb9ccdcd8 Merge branch 'main' of github.com:jOOQ/jOOQ 2024-04-25 07:43:42 +02:00
Lukas Eder
0519a82270 [jOOQ/jOOQ#16071] Add MAX_BY() and MIN_BY() aggregate functions
This includes:

- [jOOQ/jOOQ#16592] Add OrderedAggregateFunction::orderBy as a synonym
for withinGroupOrderBy
2024-04-24 16:33:26 +02:00
Lukas Eder
e6f4df629e [jOOQ/jOOQ#15732] Upgrade DuckDB to 0.10.2 2024-04-24 10:31:32 +02:00
Lukas Eder
329fe26e29 [jOOQ/jOOQ#16585] Work around HSQLDB bug where wrong LocalTime value is
fetched when using bind values of type LocalTime[]
2024-04-24 10:31:14 +02:00
Lukas Eder
a13d0e16d1 [jOOQ/jOOQ#15732] Upgrade DuckDB to 0.10.2 2024-04-23 17:14:11 +02:00
Lukas Eder
c6afa068f5 [jOOQ/jOOQ#16581] Time zone information lost when fetching TIMETZ[] value in PostgreSQL 2024-04-23 17:13:52 +02:00
Lukas Eder
852da7839c [jOOQ/jOOQ#16563] Support delimiter expressions in LISTAGG() and GROUP_CONCAT() 2024-04-22 14:27:22 +02:00
Lukas Eder
01e6a279d7 [jOOQ/jOOQ#16576] SAXParseException warnings when using jOOQ-codegen-gradle or any other MiniJAXB.unmarshal() usage 2024-04-22 11:09:51 +02:00