Lukas Eder
84df2232c8
[ jOOQ/jOOQ#17787 ] Regression when enabling <jpaAnnotation> for NOT NULL
...
DEFAULT columns, which should continue to be marked as @Column(nullable
= true)
2024-12-23 10:11:57 +01:00
Lukas Eder
e89077aa85
[ jOOQ/jOOQ#16501 ] GeneratorStrategy::getJavaMemberOverride should be called with Mode.DAO for all member-specific fetchByXYZ methods generated in a DAO
2024-12-13 09:05:27 +01:00
Lukas Eder
fd76e92a00
[ jOOQ/jOOQ#16379 ] Compilation error in generated Indexes.java when index
...
references embeddables that replace their underlying fields
2024-12-11 15:04:05 +01:00
Lukas Eder
2f2a9b76d3
[ jOOQ/jOOQ#17762 ] EmbeddableTableField::toString should render a ROW style display of the field
2024-12-11 11:35:47 +01:00
Lukas Eder
11ce2ec1cf
[ jOOQ/jOOQ#14005 ] Code generator produces wrong ordering of DataType
...
properties for nullable and defaulted array types
2024-12-09 19:41:11 +01:00
Lukas Eder
bf1047305b
[ jOOQ/jOOQ#17752 ] Add jdbc/urlProperty as a way to specify which system property to look up in code generation configuration for the JDBC URL
2024-12-06 14:27:07 +01:00
Lukas Eder
bed940da75
[ jOOQ/jOOQ#11375 ] <globalObjectNames/> Should produce a file containing
...
enum literals for each enum type
2024-12-06 09:19:10 +01:00
Lukas Eder
5cc15ad602
[ jOOQ/jOOQ#17747 ] Wrong Javadoc in <globalObjectNames/> generated classes
2024-12-06 08:43:40 +01:00
Lukas Eder
26ed6c0a03
[ jOOQ/jOOQ#17745 ] <globalObjectNames/> should not generate empty classes
2024-12-06 08:35:35 +01:00
Lukas Eder
c2d165006b
[ jOOQ/jOOQ#17727 ] KotlinGenerator should generate @Suppress(warnings)
...
in all generated files
2024-12-05 13:17:16 +01:00
Lukas Eder
4425706495
[ jOOQ/jOOQ#17714 ] KotlinGenerator doesn't respect visibility modifier configuration for companion object and its contents
2024-12-03 12:13:04 +01:00
Lukas Eder
1817dfaf39
[ jOOQ/jOOQ#17677 ] Copy paste error
2024-11-27 17:09:04 +01:00
Lukas Eder
87bdd75cca
[ jOOQ/jOOQ#17677 ] Add more context information to "Ambiguous key name"
...
warning in code generator
2024-11-27 17:03:36 +01:00
Lukas Eder
800b4e6dd8
[ jOOQ/jOOQ#17683 ] Add an additional code generation flag to turn off many-to-many relationship generation
2024-11-27 16:20:17 +01:00
Lukas Eder
bdec0019fd
[ jOOQ/jOOQ#17681 ] Compilation error in generated many-to-many paths when
...
turning off <implicitJoinPathsToOne/>
2024-11-27 16:07:44 +01:00
Lukas Eder
28073bbaa2
[ jOOQ/jOOQ#17677 ] Add more context information to "Ambiguous key name"
...
warning in code generator
2024-11-27 15:50:10 +01:00
Lukas Eder
dc4a45e59f
[ jOOQ/jOOQ#17634 ] Compilation errors in generated POJO code when
...
generating <immutableInterfaces/> on a table accepting UDTs
2024-11-22 08:54:08 +01:00
Lukas Eder
405e2bb804
[ jOOQ/jOOQ#17632 ] Use new utility
2024-11-19 09:12:47 +01:00
Lukas Eder
6b248fdc87
[ jOOQ/jOOQ#17624 ] Correct order of excludes / includes, copy paste error
2024-11-15 13:24:29 +01:00
Lukas Eder
ee6db644ea
[ jOOQ/jOOQ#17624 ] Add support for per-generation-mode type <includes> and <excludes> matching
2024-11-15 08:54:08 +01:00
Lukas Eder
ec256172c5
[ jOOQ/jOOQ#9736 ] InformationSchema, XMLDatabase and XMLGenerator support
2024-11-14 15:43:25 +01:00
Lukas Eder
e9bf333f64
[ jOOQ/jOOQ#9736 ] Add runtime model for foreign key ON DELETE and ON UPDATE actions
...
This includes:
- Add ForeignKey API
- Implement MetaImpl
- Add jOOQ-meta API
- Add H2Database implementation
- Add code generation support
2024-11-14 11:47:03 +01:00
Lukas Eder
ccd7b94f6c
[ jOOQ/jOOQ#17592 ] Missing Generated annotations on nested Path classes
2024-11-11 09:23:49 +01:00
Lukas Eder
1200fa0fa5
[ jOOQ/jOOQ#7406 ] Add code generation support for SETOF UDT returning
...
functions in PostgreSQL
2024-11-08 14:31:45 +01:00
Lukas Eder
b3d219e5eb
[ jOOQ/jOOQ#17498 ] GenerationTool should be more clear about commercial
...
dependencies, when lookups don't work
2024-10-25 08:11:44 +02:00
Lukas Eder
63b3051f7b
[ jOOQ/jOOQ#8705 ] Add code generation configuration to generate primary key based equals() and hashCode() on POJOs
2024-10-23 10:22:59 +02:00
Lukas Eder
4a88729447
[ jOOQ/jOOQ#17487 ] Add code generation configuration flags to specify
...
which columns to include / exclude in generated POJO equals() and
hashCode() implementations
2024-10-22 16:59:21 +02:00
Lukas Eder
06eb51fda8
[ jOOQ/jOOQ#17477 ] Bad code generated when activating <springDao/> but not <springAnnotations/>
2024-10-22 09:15:19 +02:00
Lukas Eder
8aee20e2b0
[ jOOQ/jOOQ#17148 ] Support Scala 3 enum types
2024-10-22 08:59:40 +02:00
Lukas Eder
809e0c1cf9
[ jOOQ/jOOQ#17476 ] Support new Scala 3 keywords in code generator
2024-10-22 08:44:22 +02:00
Lukas Eder
48d19c3b29
[ jOOQ/jOOQ#17470 ] Add <description/> to all pom.xml files
2024-10-21 14:12:16 +02:00
Lukas Eder
8a78105439
[ jOOQ/jOOQ#17455 ] Kotlin generated code should use by lazy syntax for cached Path instances
2024-10-17 14:16:26 +02:00
Lukas Eder
58b3d06b48
[ jOOQ/jOOQ#17434 ] Wrong field indexes in code generated in record getters and setters for non-replacing embeddables when database reports non-consecutive column ordinals
2024-10-16 14:37:49 +02:00
Lukas Eder
b4ed7a1813
[ jOOQ/jOOQ#15335 ] Support synonym export/import in InformationSchema XML
2024-10-02 14:30:31 +02:00
Lukas Eder
8f689c6a1c
[ jOOQ/jOOQ#17402 ] DefaultGeneratorStrategy should guard against path
...
classes receiving the same name as their enclosing class
2024-10-01 11:11:01 +02:00
Lukas Eder
b68ec5fbd2
[ jOOQ/jOOQ#9574 ] Add org.jooq.Synonym
...
This includes:
- Code generation support
- MetaSQL support
- HSQLDB code generation
2024-09-26 14:47:40 +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
dce730d397
[ jOOQ/jOOQ#12494 ] Rename Record.changed() to Record.touched()
2024-09-12 15:21:59 +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
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
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
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
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