Commit Graph

13077 Commits

Author SHA1 Message Date
Lukas Eder
4bbcc7c8a0 [jOOQ/jOOQ#16702] Settings.transformPatternsUnnecessaryScalarSubquery produces wrong SQL when subquery column is aliased 2024-05-24 11:54:47 +02:00
Lukas Eder
188a3d327b [jOOQ/jOOQ#16696] Add a new Settings to override the reflection cache sizes 2024-05-23 14:31:56 +02:00
Lukas Eder
c62fb47b08 [jOOQ/jOOQ#16690] Support Kotlin 2.0 2024-05-23 13:32:08 +02:00
Lukas Eder
a3db117d9f [jOOQ/jOOQ#16315] Memory leak in DefaultCacheProvider when large amounts
of arbitrary projections are mapped with DefaultRecordMapper
2024-05-23 13:31:14 +02:00
Lukas Eder
5796838512 [jOOQ/jOOQ#16691] Work around KT-68407 compiler error in generated AbstractSpringDAOImpl class in kotlin 2.0 2024-05-23 09:25:46 +02:00
Lukas Eder
8d7af79d42 [jOOQ/jOOQ#10585] ParserImpl.KEYWORDS_IN_SELECT and other such lists should be tries for improved performance 2024-05-22 16:19:28 +02:00
Lukas Eder
545c218503 [jOOQ/jOOQ#14827] Add support for the JSON_KEY_EXISTS() function 2024-05-17 15:01:16 +02:00
Lukas Eder
cb18d58ba7 [jOOQ/jOOQ#15251] Add support for synthetic DEFAULT expressions 2024-05-17 11:33:52 +02:00
Lukas Eder
58a152db44 [jOOQ/jOOQ#16675] SQLite "Cannot parse or interpret sql for table" error with both unique columns and foreign key constraints 2024-05-14 11:17:46 +02:00
Lukas Eder
954300b136 [jOOQ/jOOQ#16627] Update using multi-column set clause with DSL.row and
custom type logs warn on deprecated static type registry
2024-05-13 11:50:30 +02:00
Lukas Eder
37d7d2f904 [jOOQ/jOOQ#16666] Support LISTAGG (..) WITHIN GROUP (ORDER BY) in SQLite 2024-05-10 09:29:27 +02:00
Lukas Eder
8e8b24ae57 [jOOQ/jOOQ#16670] Add jakarta.annotation.Generated as possible GeneratedAnnotationType 2024-05-10 08:53:28 +02:00
Lukas Eder
b210700fd2 [jOOQ/jOOQ#16666] Add SQLite support for GROUP_CONCAT(DISTINCT ..) 2024-05-09 10:46:13 +02:00
Lukas Eder
d4c3e6f0c9 Build update 2024-05-07 10:13:52 +02:00
Lukas Eder
3c02996099 [jOOQ/jOOQ#16656] Improve warning log message about static type registry usage and how to remedy it 2024-05-07 08:18:46 +02:00
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