Lukas Eder
679b0c7f63
[ jOOQ/jOOQ#11248 ] Scala code generation support
2023-07-11 16:54:07 +02:00
Lukas Eder
1fddd1adee
[ jOOQ/jOOQ#11248 ] Kotlin code generation support
2023-07-11 16:40:36 +02:00
Lukas Eder
e13188fcf1
[ jOOQ/jOOQ#11248 ] More Trigger meta model implementation
...
- Added Meta::getTriggers and ::filterTriggers with impls in:
- InformationSchemaMetaImpl
- AbstractMeta
- CatalogMetaImpl
- FilteredMeta
- Added XMLDatabase and XMLGenerator implementations
2023-07-11 14:46:42 +02:00
Lukas Eder
998c0148be
[ jOOQ/jOOQ#15383 ] Compilation error in generated code when global object
2023-07-11 13:00:17 +02:00
Lukas Eder
2178a3cb8f
[ jOOQ/jOOQ#15375 ] Table with 255 columns generates record and POJO
...
objects whose constructors have too many parameters
2023-07-10 12:00:59 +02:00
Lukas Eder
16f0d2d82f
[ #11248 ] Add Trigger runtime meta model - WIP
2023-07-04 11:23:25 +02:00
Lukas Eder
808998f552
[ jOOQ/jOOQ#14429 ] Builds should log their build date with the logo
...
Also, no strings attached. There's no moral reason to keep the logo if users are using the free version...
2023-06-29 15:09:24 +02:00
Lukas Eder
ba97ea4596
[ jOOQ/jOOQ#15281 ] Fix regressions in the KotlinGenerator
2023-06-28 15:34:56 +02:00
Lukas Eder
adfb76f689
[ jOOQ/jOOQ#15281 ] Fix regressions
2023-06-27 13:11:20 +02:00
Lukas Eder
7b8c8d7a2c
[ jOOQ/jOOQ#15281 ] [ jOOQ/jOOQ#10561 ] Declare ref conflicts for UDTs
2023-06-26 13:40:52 +02:00
Lukas Eder
b702548040
[ jOOQ/jOOQ#15281 ] Generated code should import user defined types in data type definitions
2023-06-26 11:49:57 +02:00
Lukas Eder
a5b5f467a7
[ jOOQ/jOOQ#15276 ] Add code generation support for synthetic enums
...
This includes:
- [jOOQ/jOOQ#15277 ] Add Replacers.transformPatterns(Configuration)
public API to give access to the internal Replacer
- [jOOQ/jOOQ#15279 ] EnumConverter should support org.jooq.EnumType as U
type
2023-06-23 17:15:00 +02:00
Lukas Eder
f0e0ce5c99
[ jOOQ/jOOQ#14985 ] Override TableImpl.as() methods also in Path subtype.
...
In order to allow for things like:
BOOK.join(BOOK.author())
We generate a Author subclass that extends Author & Path<AuthorRecord> to help auto-generate the right ON clause. This now also works with aliased paths:
BOOK.join(BOOK.author().as(a))
2023-06-21 11:05:46 +02:00
Lukas Eder
91fa53d6c5
[ jOOQ/jOOQ#15207 ] A fix for a regression when both
...
<outputSchemaToDefault>true</outputSchemaToDefault> and
<defaultSchema>false</defaultSchema>
In this fix, we move the assumption of an EnumType being stored in the schema from an EnumType::getSchema check to an EnumType::getName check. The latter being null really means the enum isn't stored.
2023-06-20 13:00:00 +02:00
Lukas Eder
9448c9c399
[ jOOQ/jOOQ#9506 ] Various improvements:
...
- Implement a file based migration draft
- Throw DataMigrationValidationException if files are wrongly named
- Throw this exception also when loading the XML content
- Update generated code (move it to the top level)
- [jOOQ/jOOQ#15210 ] No need for CHANGELOG.rename() yet
- [jOOQ/jOOQ#15207 ] Turn off default schema/catalog
- Added tag support to API and XML configuration
- Make Commits::iterator unmodifiable
2023-06-13 16:38:55 +02:00
Lukas Eder
97311cafda
[ jOOQ/jOOQ#15209 ] Support ad-hoc compilation of programmatic objects in the code generator
...
- Add support for GeneratorStrategy
2023-06-12 17:26:09 +02:00
Lukas Eder
bd56a44932
[ jOOQ/jOOQ#15207 ] Add a configuration flag to avoid generating
...
DefaultCatalog and DefaultSchema
2023-06-12 11:09:25 +02:00
Lukas Eder
c7e9a2c2af
[ #15210 ] Add code generation flags to avoid overrides of as() methods or rename() methods
2023-06-12 08:35:21 +02:00
Lukas Eder
5e996c0b34
[ jOOQ/jOOQ#15183 ] Compilation error in generated DAO code when
...
visibility of a field is changed to private
2023-06-07 13:12:08 +02:00
Lukas Eder
25897d1ebf
[ jOOQ/jOOQ#15168 ] NullPointerException in code generator when omitting
...
<target> directory
2023-06-02 12:43:46 +02:00
Lukas Eder
3cabeb65ad
[ jOOQ/jOOQ#15154 ] Fix various Javadoc links
2023-05-31 15:22:42 +02:00
Lukas Eder
97c56d2d53
[ jOOQ/jOOQ#13947 ] Support CockroachDB 23 user defined functions - WIP
...
- Fix array type support
2023-05-31 12:17:59 +02:00
Lukas Eder
3cd2dd559a
[ jOOQ/jOOQ#15097 ] Compilation error in Oracle generated code for package type in PL/SQL RECORD constructor
2023-05-24 11:24:00 +02:00
Lukas Eder
782000ed6f
[ jOOQ/jOOQ#8012 ] Various improvements:
...
- Added KotlinGenerator implementation
- Added ScalaGenerator implementation
- Add a check for the codegen configuration flag
- [jOOQ/jOOQ#15095 ] Generate property access syntax in KotlinGenerator
generated tables
2023-05-22 19:32:11 +02:00
Lukas Eder
4dcec71dfa
[ jOOQ/jOOQ#8012 ] Added more convenient internal constructor
2023-05-22 09:21:23 +02:00
Lukas Eder
9bbce6b459
[ jOOQ/jOOQ#8012 ] Override Table.where(Condition) methods in generated tables
2023-05-17 17:47:44 +02:00
Lukas Eder
59db3a9183
[ jOOQ/jOOQ#14991 ] KotlinGenerator produces wrong code with
...
kotlinNotNullPojoAttributes when multiple references to an embeddable
have different nullability
2023-05-17 12:22:17 +02:00
Lukas Eder
80916440f5
[ jOOQ/jOOQ#12663 ] Fix wrong Javadoc tag
2023-05-05 12:03:26 +02:00
Lukas Eder
72ab4f1c1c
[ jOOQ/jOOQ#15024 ] Improve Javadoc of lookupLiteral() for generated enums
...
This includes:
- [jOOQ/jOOQ#15025 ] Generate annotations on generated EnumType::getLiteral method, if so configured
2023-05-05 09:55:54 +02:00
Lukas Eder
d3e689b79e
[ jOOQ/jOOQ#15005 ] Fix generated whitespace
2023-05-02 16:35:50 +02:00
Lukas Eder
2804ddc2d2
[ jOOQ/jOOQ#15005 ] Refactor generated code
...
The KotlinGenerator and ScalaGenerator require quite some different constructor design.
2023-05-02 14:29:51 +02:00
Lukas Eder
656e211d42
[ jOOQ/jOOQ#15005 ] Add org.jooq.Path<R>, a type to model join paths
...
This includes:
- New org.jooq.Path type
- New JOIN method overloads
- Code generation implementation and configuration
2023-05-02 13:12:39 +02:00
Lukas Eder
c42deedaae
[ jOOQ/jOOQ#14998 ] Add code generation flag <implicitJoinPathUnusedConstructors/> to offer an option to stop generating unused implicit join path constructors
2023-05-02 08:47:47 +02:00
Lukas Eder
ffb9414667
[ jOOQ/jOOQ#13639 ] Fix a few regressions
...
The new inverse foreign key code generation regressed on
[jOOQ/jOOQ#9758 ] and [jOOQ/jOOQ#11032 ]
2023-05-01 16:09:33 +02:00
Lukas Eder
47f59ce5d3
[ jOOQ/jOOQ#14993 ] Add a new <matchers/> subelement <foreignKeys/>
2023-05-01 10:33:06 +02:00
Lukas Eder
b096a11858
[ jOOQ/jOOQ#13639 ] Fix code generation error in ScalaGenerator
2023-05-01 10:04:36 +02:00
Lukas Eder
caa3dca7db
[ jOOQ/jOOQ#14985 ] Support many-to-many path joins
2023-04-28 17:40:44 +02:00
Lukas Eder
d5577c20db
[ jOOQ/jOOQ#13639 ] Implement kotlin and scala code generation
2023-04-28 15:37:15 +02:00
Lukas Eder
184f0b9dea
[ jOOQ/jOOQ#13639 ] Prevent generating duplicate attributes
2023-04-28 14:28:31 +02:00
Lukas Eder
49b48887c7
[ jOOQ/jOOQ#13639 ] Add support for to-many path expressions
...
- Added code generation support
- Added runtime meta data
- Mark the feature as experimental
- Turn off the feature by default, for as long it's experimental
2023-04-26 15:18:09 +02:00
Lukas Eder
3f6a4ad915
[ jOOQ/jOOQ#14932 ] Add a jooq.codegen.propertyOverride system property to GenerationTool
2023-04-13 15:20:52 +02:00
Lukas Eder
f60eeea84b
[ jOOQ/jOOQ#14932 ] Fix typo
2023-04-13 13:24:15 +02:00
Lukas Eder
e1549e0db9
[ jOOQ/jOOQ#14932 ] Add a jooq.codegen.propertyOverride system property to GenerationTool
...
- Do this for jooq.codegen.jdbc
2023-04-13 10:30:27 +02:00
Lukas Eder
9ca59d6739
[ jOOQ/jOOQ#14916 ] Compilation error with embedded domains and postgres
...
types
2023-04-11 10:16:12 +02:00
Lukas Eder
22ca708b2b
[ jOOQ/jOOQ#14916 ] Compilation error with embedded domains and postgres types
2023-04-06 17:16:34 +02:00
Lukas Eder
cb4bd635c8
[ jOOQ/jOOQ#8617 ] Add org.jooq.Generated annotation with RUNTIME retention for generated code
2023-03-31 16:47:18 +02:00
Lukas Eder
e7db20cd5a
[ jOOQ/jOOQ#14882 ] Generate nullable annotations also on record
...
constructor, when <pojosAsJavaRecordClasses/> is set
2023-03-30 11:12:40 +02:00
Lukas Eder
ecdfd8a90a
[ jOOQ/jOOQ#14883 ] Regression: KotlinGenerator produces superfluous public keyword for overriding methods
2023-03-30 10:22:25 +02:00
Lukas Eder
0a65011729
[ jOOQ/jOOQ#14853 ] Kotlin Code generator generates invalid code for
...
embeddables in POJOs when immutable interfaces is activated
This includes:
- [jOOQ/jOOQ#14855 ] Compilation error in generated code for embeddable
properties when reducing visibility to internal, and generating
interfaces
2023-03-27 12:07:31 +02:00
Lukas Eder
a908ff7532
[ jOOQ/jOOQ#14830 ] Compilation error in generated code when table valued function returns table with client side computed columns and <recordsImplementingRecordN/> is active
2023-03-22 12:53:09 +01:00