Lukas Eder
02ef445c35
[ jOOQ/jOOQ#17224 ] TableRecord null value has its changed flag reset
...
despite a Converter encoding the null value as a non-null value
This includes:
- [jOOQ/jOOQ#17272 ] Add Converter.fromSupported() and
Converter.toSupported() default methods
2024-09-19 10:26:46 +02:00
Lukas Eder
a660b41005
[ jOOQ/jOOQ#17255 ] Exception when accessing MetaImpl::ddl with a user that lacks privileges to access certain databasese in SQL Server
2024-09-18 16:07:50 +02:00
Lukas Eder
7eb7e01429
[ jOOQ/jOOQ#17255 ] Upgrade SQL Server JDBC dependency
2024-09-18 16:07:10 +02:00
Lukas Eder
79acd45949
[ jOOQ/jOOQ#17263 ] NullPointerException in MetaImpl::lookupTable when Schema isn't available for lookup of cross-schema foreign keys
2024-09-18 15:22:58 +02:00
Lukas Eder
85c137d699
[ jOOQ/jOOQ#17259 ] Meta::filterCatalogs is applied too late for internal
...
MetaImpl queries executed by Meta::ddl
2024-09-18 14:34:02 +02:00
Lukas Eder
807ec8850e
[ jOOQ/jOOQ#7263 ] Parser should accept qualified field references in
...
MERGE .. INSERT statement
2024-09-17 16:22:43 +02:00
Lukas Eder
e4d98094eb
[ jOOQ/jOOQ#17251 ] Better implementation using USE schema
2024-09-17 12:51:48 +02:00
Lukas Eder
da262ac04b
[ jOOQ/jOOQ#17251 ] Cross schema references still don't work:
...
https://github.com/duckdb/duckdb/issues/13981
2024-09-17 12:35:56 +02:00
Lukas Eder
54a336685d
[ jOOQ/jOOQ#17247 ] Log warnings when Java record constructor has more than 254 parameters
2024-09-16 13:22:39 +02:00
Lukas Eder
c8c567348a
[ jOOQ/jOOQ#17243 ] UpdatableRecord.delete() should reset all
...
Record.original() values
2024-09-13 17:54:59 +02:00
Lukas Eder
6294085110
[ jOOQ/jOOQ#5394 ] Fix more Javadoc
2024-09-13 16:53:07 +02:00
Lukas Eder
9e5c759450
[ jOOQ/jOOQ#5394 ] Whoops
2024-09-12 18:00:12 +02:00
Lukas Eder
a70b920c2f
[ jOOQ/jOOQ#5394 ] Add a way to load POJOs into Records without setting all the changed flags to true
2024-09-12 17:55:09 +02:00
Lukas Eder
34b560bf82
[ jOOQ/jOOQ#12494 ] Add additional Record.modified() methods
2024-09-12 16:16:43 +02:00
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