Commit Graph

13106 Commits

Author SHA1 Message Date
Lukas Eder
dc343ce47e [jOOQ/jOOQ#12073] Emulate combination of JSON_ARRAYAGG() FILTER clause and NULL ON NULL 2024-06-03 10:57:40 +02:00
Lukas Eder
3d171612d8 [jOOQ/jOOQ#12462] Overload DSL.function() to accept arguments also as Collection<? extends Field<?>> 2024-06-03 09:26:17 +02:00
Lukas Eder
55d044f50f [jOOQ/jOOQ#11886] Avoid parentheses when rendering associative concatenation chains
This includes:

- [jOOQ/jOOQ#16745] Wrong SQL rendered for MS Access CONCAT function with more than 2 arguments
2024-05-31 17:00:49 +02:00
Lukas Eder
5a5ac940be [jOOQ/jOOQ#12361] Emulate simple cases of the data change delta table in Firebird, MariaDB, SQL Server 2024-05-31 15:12:09 +02:00
Lukas Eder
8016b294b1 [jOOQ/jOOQ#13412] Emulate UPDATE .. FROM with multiple tables or joins 2024-05-31 11:04:43 +02:00
Lukas Eder
42b1dff053 Build fixes 2024-05-31 10:33:33 +02:00
Lukas Eder
9401eecea3 [jOOQ/jOOQ#16500] Updated Javadoc 2024-05-30 13:36:09 +02:00
Lukas Eder
7a4b83a589 [jOOQ/jOOQ#16734] Redundant policy related logic in UpdateQueryImpl 2024-05-30 11:07:51 +02:00
Lukas Eder
09e75a5e23 [jOOQ/jOOQ#16733] DML ORDER BY .. LIMIT emulation shouldn't repeat WHERE predicate 2024-05-30 10:40:28 +02:00
Lukas Eder
6603a30b0a javac shenanigans, probably https://bugs.openjdk.org/browse/JDK-8288590 2024-05-30 08:15:54 +02:00
Lukas Eder
ab2ebc63d3 [jOOQ/jOOQ#16732] Support references to UPDATE .. FROM tables from SET clause in dialects that support UPDATE .. JOIN 2024-05-29 17:36:14 +02:00
Lukas Eder
9d83a9730e [jOOQ/jOOQ#15636] Wrong SQL generated when specifying explicit path
joins in UPDATE .. FROM and DELETE .. USING
2024-05-29 16:30:16 +02:00
Lukas Eder
475a94fe26 [jOOQ/jOOQ#16725] Avoid operator associativity rendering logic if
operator isn't nested
2024-05-29 13:40:47 +02:00
Lukas Eder
0376eb3b35 [jOOQ/jOOQ#16500] Fix module name 2024-05-29 13:40:28 +02:00
Lukas Eder
403c3252b5 [jOOQ/jOOQ#15830] Add support for the Oracle 23ai multi row INSERT .. VALUES statement 2024-05-29 13:40:07 +02:00
Lukas Eder
0134941e31 [jOOQ/jOOQ#14398] Don't import class in generated code, update api.xml 2024-05-28 14:33:33 +02:00
Lukas Eder
aa0ea39a9a [jOOQ/jOOQ#14398] Avoid rendering parentheses on left associative operations 2024-05-28 13:13:33 +02:00
Lukas Eder
d47a597431 [jOOQ/jOOQ#15085] Confusing error message when reading a non-existing
Field from a Record containing accidentally nested row types
2024-05-28 10:04:56 +02:00
Lukas Eder
6a42a7e888 [jOOQ/jOOQ#16500] Or rather, throw an exception 2024-05-28 08:45:02 +02:00
Lukas Eder
0a5427115f [jOOQ/jOOQ#16500] Implement LegacyAnnotatedPojoMemberProvider to log
warnings
2024-05-28 08:39:28 +02:00
Data Geekery CI Bot
d820a5f915 Re-generated code 2024-05-28 05:07:13 +02:00
Lukas Eder
8b6a07d713 [jOOQ/jOOQ#16500] Move jakarta.persistence related logic of DefaultRecordMapper into a new jooq-jpa-extensions module 2024-05-27 16:10:13 +02:00
Lukas Eder
a5be8cd89d [jOOQ/jOOQ#7585] Move java.desktop related logic of DefaultRecordMapper
into a new jooq-beans-extensions module
2024-05-27 14:25:29 +02:00
Lukas Eder
6626120db8 Revert "[jOOQ/jOOQ#16716] Generate MyTable.let(Function<? super MyTable,
? extends R>) utilities on generated tables"
2024-05-27 10:43:57 +02:00
Lukas Eder
e2f288d5a1 [jOOQ/jOOQ#16702] Recurse correctly 2024-05-27 10:43:39 +02:00
Data Geekery CI Bot
d45c5ecbd6 Re-generated code 2024-05-24 19:42:23 +02:00
Lukas Eder
60a9153cb2 [jOOQ/jOOQ#16716] Generate MyTable.let(Function<? super MyTable, ? extends R>) utilities on generated tables 2024-05-24 18:42:51 +02:00
Lukas Eder
40eda69094 [jOOQ/jOOQ#16708] Settings.transformPatternsUnnecessaryScalarSubquery produces wrong SQL when subquery column is an embeddable 2024-05-24 12:40:48 +02:00
Lukas Eder
3263ea35a8 [jOOQ/jOOQ#16705] Pattern replacement activates RETURNING clause of DELETE / UPDATE statements 2024-05-24 12:22:49 +02:00
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