Lukas Eder
1cdf577120
[ jOOQ/jOOQ#644 ] Support POJO type hierarchy
...
When using <interfaces/>, the various setters and constructors must share conversion logic, ideally in a new private method per UDT column / attribute
2024-09-05 13:28:51 +02:00
Lukas Eder
054c7f6224
[ jOOQ/jOOQ#644 ] Support POJO type hierarchy
...
This first draft will omit calls to super.xyz() in various POJO type hierarchy levels, assuming the super type implementation (and its attributes) can be ignored completely given that all methods are overridden. If this assumption isn't true, we can still fix things, but I prefer not to complicate *everything* unless it's necessary.
Some implementations are still wrong as they should downcast known supertypes to their subtypes, e.g. constructors when accepting <interfaces/> types.
2024-09-05 12:03:33 +02:00
Lukas Eder
265798730f
[ jOOQ/jOOQ#644 ] [ jOOQ/jOOQ#8209 ] Invalid code when generating both POJOs and interfaces with UDTs
2024-09-04 18:15:44 +02:00
Lukas Eder
5e42bd358f
[ jOOQ/jOOQ#17181 ] Add native support for DISTINCT ON in DuckDB
2024-09-04 16:06:08 +02:00
Lukas Eder
8094b21cf4
[ jOOQ/jOOQ#17179 ] Fix typo
2024-09-04 15:44:50 +02:00
Lukas Eder
18f2f24dae
[ jOOQ/jOOQ#17180 ] Record constructor should accept embeddable interface
...
If <interfaces/> is set to true, then the Record constructor should accept the interface type of an embeddable (or UDT), not the Record type, just like the setter.
This includes:
- [jOOQ/jOOQ#17179 ] Bad replacing EmbeddableRecord setter generated when <interfaces/> is active
2024-09-04 15:33:03 +02:00
Lukas Eder
fbee6b2824
[ jOOQ/jOOQ#17165 ] Embeddables replacing their fields should replace
...
their fields also in generated POJOs and interfaces
2024-09-03 11:42:20 +02:00
Lukas Eder
e39a03962c
[ jOOQ/jOOQ#17169 ] Overload resolution ambiguity in KotlinGenerator
...
generated code for embeddable domains
This includes:
[jOOQ/jOOQ#11716 ] Fix this also for KotlinGenerator
2024-09-02 15:11:52 +02:00
Lukas Eder
3b10066935
[ jOOQ/jOOQ#11716 ] Using embedded domains with POJO generation results in duplicate getters
2024-09-02 13:57:55 +02:00
Lukas Eder
865765d223
[ jOOQ/jOOQ#16470 ] Meta::ddl produces incorrect DDL for SQLite, when there are FOREIGN KEY constraints
2024-09-02 09:40:44 +02:00
Lukas Eder
2766f16ce5
[ jOOQ/jOOQ#17146 ] Unsupport ScalaGenerator in OSS edition
2024-08-30 10:15:32 +02:00
Lukas Eder
a913f4641f
[ jOOQ/jOOQ#16036 ] Join paths don't work when embeddable keys or domains
...
on keys are present
2024-08-30 08:49:56 +02:00
Lukas Eder
45a830b59f
[ jOOQ/jOOQ#17150 ] Update Scala dependencies to 2.12.19 and 2.13.14
2024-08-29 17:06:55 +02:00
Lukas Eder
54dbdcffa4
[ jOOQ/jOOQ#644 ] Fix compilation error in RecordType setters/getters
...
RecordType setters/getters should use the Mode.DEFAULT for the attribute types, not the Mode.RECORD_TYPE, in case a hierarchical record references a flat record!
2024-08-29 16:38:50 +02:00
Lukas Eder
402790f475
[ jOOQ/jOOQ#12180 ] Include jOOQ-scala_3.5 in module list
2024-08-29 16:08:54 +02:00
Lukas Eder
e662700892
[ jOOQ/jOOQ#12180 ] [ jOOQ/jOOQ#17146 ] [ jOOQ/jOOQ#17147 ] install/deploy
2024-08-29 16:07:22 +02:00
Lukas Eder
86d75b208e
[ jOOQ/jOOQ#12180 ] Fix typo
2024-08-29 15:55:40 +02:00
Lukas Eder
de28358e3d
[ jOOQ/jOOQ#17146 ] Move Scala 2.13 support to the commercial distributions
2024-08-29 15:32:24 +02:00
Lukas Eder
25ebce0f4c
[ jOOQ/jOOQ#12180 ] Add a jOOQ-scala-3.5 extension library
2024-08-29 14:55:35 +02:00
Lukas Eder
172a0e9b3d
[ jOOQ/jOOQ#12180 ] Add Scala3Generator
2024-08-29 13:37:29 +02:00
Lukas Eder
89a4785f30
[ jOOQ/jOOQ#644 ] Generated RECORD_TYPE classes don't need to be generic
2024-08-29 10:21:29 +02:00
Lukas Eder
dba849cf5d
[ jOOQ/jOOQ#644 ] Generated RECORD_TYPE classes don't need to be generic
2024-08-29 10:19:59 +02:00
Lukas Eder
d15f9f0d04
[ jOOQ/jOOQ#644 ] Revert NOT INSTANTIABLE support for now
...
There are numerous problems in jOOQ's internals, which assume that a UDTRecord is always non-abstract (e.g. to access the UDT qualifier via reflection). This cannot be avoided, for now.
2024-08-28 15:43:06 +02:00
Lukas Eder
e7d82f6764
[ jOOQ/jOOQ#644 ] Add support for Oracle TYPE .. UNDER type hierarchies
...
This includes:
- Add support for NOT INSTANTIABLE
- Handle synonym references
2024-08-28 13:25:50 +02:00
Lukas Eder
175380c1dc
[ jOOQ/jOOQ#644 ] Add support for Oracle TYPE .. UNDER type hierarchies
...
This includes:
- [jOOQ/jOOQ#11371 ] Generate UDT.getSupertype() and UDT.getSubtypes()
2024-08-28 12:56:34 +02:00
Lukas Eder
fdbeea9977
[ jOOQ/jOOQ#17135 ] <unsignedTypes/> flag doesn't work outside of
...
MySQLDatabase
2024-08-27 08:53:08 +02:00
Lukas Eder
23a0ae44e0
[ jOOQ/jOOQ#17131 ] Improve formatting of functions containing CASE
...
arguments - WIP
2024-08-22 17:25:14 +02:00
Lukas Eder
830e956e76
[ jOOQ/jOOQ#17124 ] Use CASE simple, instead of CASE searched
2024-08-22 15:58:10 +02:00
Lukas Eder
d3a4f9527b
[ jOOQ/jOOQ#17092 ] Fix this also for Derby
2024-08-22 12:14:41 +02:00
Lukas Eder
ab348020b7
[ jOOQ/jOOQ#17124 ] MySQL boolean type information isn't maintained across
...
expressions when embedded into JSON
2024-08-22 11:55:45 +02:00
Lukas Eder
0fe17b977e
[ jOOQ/jOOQ#17126 ] Deprecate SQLDialect.SQLSERVER2008
2024-08-22 10:36:11 +02:00
Lukas Eder
c635c50e99
[ jOOQ/jOOQ#17125 ] Deprecate SQLDialect.ORACLE11G and ORACLE12C
2024-08-22 10:30:58 +02:00
Lukas Eder
07f3a37859
[ jOOQ/jOOQ#17113 ] CASE expression on BOOLEAN type emulation in JSON
...
constructor causes ORA-40590: invalid format on Oracle XE 18
2024-08-21 16:10:48 +02:00
Lukas Eder
9d67a2eb37
[ jOOQ/jOOQ#17113 ] Remove ELSE NULL emulation as it's no longer necessary
2024-08-21 15:09:11 +02:00
Lukas Eder
d57dcdbb85
[ jOOQ/jOOQ#17099 ] [ jOOQ/jOOQ#17117 ] Code generation escaping issues
...
This includes:
- [jOOQ/jOOQ#17099 ] KotlinGenerator contains incomplete list of Kotlin forbidden identifier characters
- [jOOQ/jOOQ#17117 ] Bad code generated for enum values containing backslash character
2024-08-21 14:18:18 +02:00
Lukas Eder
7ce935bbb5
[ jOOQ/jOOQ#15936 ] De-duplicate join/path correlation predicates
...
There are some edge cases where duplicate predicates are being generated from both the join tree (or table lists) and the path correlations. It's worth investigating why this happens rather than removing the duplicates with a Set, but for now this works.
2024-08-20 16:17:12 +02:00
Lukas Eder
70187dbee8
[ jOOQ/jOOQ#15936 ] Whitespace fix
2024-08-20 15:34:35 +02:00
Lukas Eder
97f2b8be00
[ jOOQ/jOOQ#15936 ] Implicit path correlation produces correlation
...
predicate in ON clause rather than WHERE clause in some cases
2024-08-20 15:32:41 +02:00
Lukas Eder
74d999a5ef
[ jOOQ/jOOQ#17105 ] Upgrade xerial SQLite dependency to 3.46.1.0
2024-08-19 13:41:59 +02:00
Lukas Eder
94e97b229a
[ jOOQ/jOOQ#12605 ] Add support for Firebird 4 TIME[STAMP] WITH TIME ZONE data types
2024-08-19 11:44:14 +02:00
Lukas Eder
3b26957826
[ jOOQ/jOOQ#17069 ] Fix this also for Firebird TIME[STAMP]TZ types
2024-08-19 11:38:03 +02:00
Lukas Eder
2a3dcc6d21
[ jOOQ/jOOQ#17100 ] Add DataType.isTimestampWithTimeZone() for INSTANT and OFFSETDATETIME and isTimeWithTimeZone() for OffsetTime
2024-08-19 11:27:51 +02:00
Lukas Eder
1c453a1e28
[ jOOQ/jOOQ#10880 ] Firebird may also produce -NaN values
2024-08-19 09:06:32 +02:00
Lukas Eder
79e60a7369
[ jOOQ/jOOQ#17088 ] Fix R2DBC support for TIMESTAMP WITH TIME ZONE types
2024-08-16 14:56:38 +02:00
Lukas Eder
8aefba19c1
[ jOOQ/jOOQ#16984 ] The sorting will continue until morale improves
2024-08-16 14:56:25 +02:00
Lukas Eder
f27e78b4e2
[ jOOQ/jOOQ#17069 ] Handle TIME precisions in schema Diff
2024-08-16 09:36:49 +02:00
Lukas Eder
f1b7998113
[ jOOQ/jOOQ#10880 ] Normalise parsed DECFLOAT representation
...
To improve equals(), hashCode(), and toString() behaviour, we must
normalise the parsed DECFLOAT representation to:
- Always have only 1 digit left of the comma
- Strip trailing zeros
2024-08-16 09:29:26 +02:00
Lukas Eder
a51eec3222
[ jOOQ/jOOQ#10880 ] [ jOOQ/jOOQ#11706 ] Better handle DECFLOAT NaN and Infinity
2024-08-16 09:29:13 +02:00
Lukas Eder
af4a8a819d
[ jOOQ/jOOQ#17069 ] Don't generate TIME precision where unsupported
2024-08-15 17:30:54 +02:00
Lukas Eder
9d7f4dc02e
[ jOOQ/jOOQ#17069 ] Don't generate TIME precision where unsupported
2024-08-15 16:56:42 +02:00