Lukas Eder
dce730d397
[ jOOQ/jOOQ#12494 ] Rename Record.changed() to Record.touched()
2024-09-12 15:21:59 +02:00
Lukas Eder
7308b1f2b7
[ jOOQ/jOOQ#12494 ] Rename Record.changed() to Record.touched()
2024-09-12 15:21:48 +02:00
Lukas Eder
b6f8e56394
[ jOOQ/jOOQ#17236 ] Improve error message in GeneratorWriter when brackets
...
mismatch, including the offending file
2024-09-12 10:42:02 +02:00
Lukas Eder
4793b21d07
[ jOOQ/jOOQ#17235 ] Upgrade DuckDB dependency to 1.1.0
2024-09-11 16:41:37 +02:00
Lukas Eder
a43ffeae2a
[ jOOQ/jOOQ#12485 ] Use PreparedStatement.setObject(int, Object,
...
Types.OTHER) instead of setString(int, String) to bind array bind values
in PostgreSQL
2024-09-11 14:58:25 +02:00
Lukas Eder
2c3fde2886
[ jOOQ/jOOQ#644 ] Support record/data/case classes
...
None of these special classes support inheritance, so we must avoid generating inheritance with these class types.
This includes:
- [jOOQ/jOOQ#17232 ] Generate copy constructors with <pojosAsJavaRecordClasses/>
2024-09-11 12:23:40 +02:00
Lukas Eder
9cf3b0c3bb
[ jOOQ/jOOQ#17212 ] Get Sybase SQL Anywhere dialect up to date
2024-09-11 09:28:42 +02:00
Lukas Eder
81c3394805
[ jOOQ/jOOQ#10880 ] Fix isNan(), isPositiveInfinity(),
...
isNegativeInfinity()
2024-09-11 09:28:25 +02:00
Lukas Eder
09664398a5
[ jOOQ/jOOQ#17227 ] Missing Support and NotNull annotations in ConstraintForeignKeyReferencesStepN
2024-09-11 09:24:53 +02:00
Lukas Eder
93932a6374
[ jOOQ/jOOQ#17225 ] Add support for BigQuery NOT ENFORCED constraint definitions in DDL
2024-09-10 14:35:07 +02:00
Lukas Eder
13ca124a2c
[ jOOQ/jOOQ#17212 ] Get Sybase SQL Anywhere dialect up to date
2024-09-10 11:12:24 +02:00
Lukas Eder
d2baa57c5b
[ jOOQ/jOOQ#17216 ] [ jOOQ/jOOQ#17220 ] Fix regression
2024-09-10 08:20:11 +02:00
Lukas Eder
297e1647d0
More javac shenanigans
2024-09-10 07:58:49 +02:00
Lukas Eder
ebed51d02d
[ jOOQ/jOOQ#17216 ] Get Sybase SQL Anywhere dialect up to date
2024-09-09 17:42:33 +02:00
Lukas Eder
40ed55fbdc
[ jOOQ/jOOQ#17203 ] NPE while reading timestamp data type value for SAP SQL Anywhere 17 with jconn4
2024-09-09 12:39:14 +02:00
Lukas Eder
ca9e7a311d
[ jOOQ/jOOQ#644 ] Fix wrong import of non-existing interface
...
When we have an implicit Converter, getJavaType() unfortunately produces
an import even if the type is ultimately not used. This should probably
be fixed separately as I keep running into this problem.
2024-09-06 16:53:16 +02:00
Lukas Eder
1b31615761
[ jOOQ/jOOQ#17208 ] Revert deprecation of serialization support
2024-09-06 16:52:24 +02:00
Lukas Eder
7ce79ccfbd
[ jOOQ/jOOQ#17202 ] IllegalAccessException when creating DSL.table(R...) from list of Kotlin generated TableRecords
2024-09-06 14:02:49 +02:00
Lukas Eder
99dd011913
[ jOOQ/jOOQ#644 ] [ jOOQ/jOOQ#17189 ] Lots of ScalaGenerator improvements
...
- Support POJO hierarchies (use constructor args instead of properties)
- Correct overrides of interfaces
- Avoid covariant Array[X] overrides (that's Java only)
2024-09-06 13:29:29 +02:00
Lukas Eder
e45a9eaf1f
[ jOOQ/jOOQ#17196 ] ScalaGenerator produces wrong code when generated interfaces (traits) extend multiple other interfaces
2024-09-06 09:53:30 +02:00
Lukas Eder
f389ed3645
[ jOOQ/jOOQ#644 ] immutablePojo type hierarchy support
2024-09-06 09:31:35 +02:00
Lukas Eder
a2490eb03c
[ jOOQ/jOOQ#644 ] Add matcher strategies for the record types
2024-09-05 16:14:36 +02:00
Lukas Eder
a245b9efb3
[ jOOQ/jOOQ#17184 ] Multiset Result and Records are attached to derived
...
configuration, not original one
2024-09-05 15:58:56 +02:00
Lukas Eder
cb80ce4672
[ jOOQ/jOOQ#644 ] Don't generate Scala POJO hierarchies yet
2024-09-05 14:33:36 +02:00
Lukas Eder
82d210d0d4
[ jOOQ/jOOQ#644 ] KotlinGenerator fixes for POJO hierarchy
...
In Kotlin, classes and attributes have to be open to be overridden, and their overriding attributes have to declare this. Also, the super constructor must be called explicitly
2024-09-05 14:00:39 +02:00
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