Commit Graph

1246 Commits

Author SHA1 Message Date
Lukas Eder
d060580a98 [jOOQ/jOOQ#15942] KeepNamesGeneratorStrategy generates ambiguous path
names if implicitJoinPathTableSubtypes is activated
2023-12-18 10:53:46 +01:00
Lukas Eder
070d47a161 Release 3.20.0-SNAPSHOT 2023-12-15 17:16:27 +01:00
Lukas Eder
05f24d79e3 Release 3.19.1-SNAPSHOT 2023-12-15 17:08:05 +01:00
Lukas Eder
04dbbf4639 Release 3.19.0 2023-12-15 14:05:22 +01:00
Lukas Eder
698fbc0f94 [jOOQ/jOOQ#12985] Add --debug CLI hint for Gradle 2023-12-07 12:41:11 +01:00
Lukas Eder
ccaab3f6ad [jOOQ/jOOQ#12985] No longer recommending the third party plugin 2023-12-05 08:30:22 +01:00
Lukas Eder
238d497631 [jOOQ/jOOQ#15883] Compilation error in generated code when using
<embeddableDomains/> and the domain is part of a composite key
2023-11-28 14:00:33 +01:00
Lukas Eder
3e276baf0b [jOOQ/jOOQ#13912] Simplify SQL Server's RETURNING emulation in the absence of triggers
This includes:

- [jOOQ/jOOQ#11248] SQL Server trigger meta data support
2023-11-23 14:37:42 +01:00
Lukas Eder
2366d0d7c3 [jOOQ/jOOQ#15843] Deprecation log warning about <dateAsTimestamp/>
should link to relevant manual section
2023-11-20 16:15:49 +01:00
Lukas Eder
4bbc9b6463 [jOOQ/jOOQ#15850] Accidental override when enabling <interfaces> for
tables with columns X and IS_X in Kotlin
2023-11-20 16:04:58 +01:00
Lukas Eder
7a8b2b8391 [jOOQ/jOOQ#15848] Compilation error in KotlinGenerator generated code
for tables containing a FROM column, when <interfaces> is activated
2023-11-20 15:34:49 +01:00
Lukas Eder
e9fdc3c485 [jOOQ/jOOQ#15828] Support overlapping embeddables when enabling
<embeddablePrimaryKeys/>
2023-11-16 16:35:17 +01:00
Lukas Eder
c5d3ef2fe5 [jOOQ/jOOQ#15760] Compile errors of generated classes using scala 3 2023-10-26 13:19:45 +02:00
Lukas Eder
2b77563721 [jOOQ/jOOQ#15686] Generated DEFAULT expressions should always be
syntactically valid for all data types in HANA
2023-10-05 15:35:49 +02:00
Lukas Eder
e17ad6d31b [jOOQ/jOOQ#13301] Allow kotlin pojos to not have defaulted constructor parameters 2023-10-04 14:32:47 +02:00
Lukas Eder
af4324acbe [jOOQ/jOOQ#15619] On JDK 21, generated code should apply "this-escape" warning suppression 2023-09-28 14:37:17 +02:00
Lukas Eder
41505e01db [jOOQ/jOOQ#15621] Synthetic comment flag <deprecated> should produce
@Deprecated annotation in addition to Javadoc
2023-09-20 11:41:19 +02:00
Lukas Eder
e6391079f6 [jOOQ/jOOQ#9483] Add support for { CREATE | DROP } MATERIALIZED VIEW
This includes:

- [jOOQ/jOOQ#15593] Add support for and emulate CREATE OR REPLACE MATERIALIZED VIEW and other objects
- Interpreter support
- InformationSchemaExport support
- InformationSchema support
2023-09-15 13:33:42 +02:00
Lukas Eder
cc452c2c45 [jOOQ/jOOQ#15583] UDTImpl should use Name instead of String in
constructor
2023-09-13 10:22:23 +02:00
Lukas Eder
0d70664474 [jOOQ/jOOQ#15554] JavaWriter should have a Mode reference 2023-09-07 13:21:38 +02:00
Lukas Eder
e1adf258a1 [jOOQ/jOOQ#5210] Fix compilation error in generated code
Package UDTs generated wrong UDTNames objects, see [jOOQ/jOOQ#10576]
2023-08-31 11:05:11 +02:00
Lukas Eder
edb132c0d9 [jOOQ/jOOQ#5210] Add code generation option to generate string constants for all object names 2023-08-30 17:17:27 +02:00
Lukas Eder
7293b60b07 [jOOQ/jOOQ#228] Fix regression 2023-08-28 16:59:01 +02:00
Lukas Eder
e448d58094 [jOOQ/jOOQ#228] Fix regression 2023-08-28 16:57:38 +02:00
Lukas Eder
01a92864b6 [jOOQ/jOOQ#228] Added KotlinGenerator support 2023-08-28 16:45:55 +02:00
Lukas Eder
896d995476 [jOOQ/jOOQ#228] Added ScalaGenerator support
This includes:

- Refactor Internal methods, remove unnecessary type variables
2023-08-28 11:37:17 +02:00
Lukas Eder
5ee497713d [jOOQ/jOOQ#228] Use kotlin accessor syntax 2023-08-28 09:00:11 +02:00
Lukas Eder
6423be339d [jOOQ/jOOQ#3751] Support UDT object names in MatcherStrategy 2023-08-25 16:44:07 +02:00
Lukas Eder
a37747e297 [jOOQ/jOOQ#228] Skip UDT paths for Scala and Kotlin for now 2023-08-25 15:27:42 +02:00
Lukas Eder
c466d68a85 [jOOQ/jOOQ#228] Enhance API to provide access to UDT members - WIP 2023-08-25 11:32:29 +02:00
Lukas Eder
227020b363 [jOOQ/jOOQ#15213] Support ad-hoc compilation of programmatic Generator or Database objects in the code generator 2023-08-23 12:21:50 +02:00
Lukas Eder
0ddc30aab8 [jOOQ/jOOQ#15487] Turn off <recordsImplementingRecordN/> by default 2023-08-22 14:53:23 +02:00
Lukas Eder
86d50133ec [jOOQ/jOOQ#6182] Support renaming Keys and Indexes with matcher strategy 2023-08-16 14:45:37 +02:00
Lukas Eder
65556fe9b6 [jOOQ/jOOQ#6182] Support renaming Keys with matcher strategy 2023-08-16 14:14:08 +02:00
Lukas Eder
7777e5b46a [jOOQ/jOOQ#15464] Support also pathExtends and pathImplements 2023-08-14 15:03:02 +02:00
Lukas Eder
7b55ae620e [jOOQ/jOOQ#15464] Add matcher strategy to name path Table subclasses 2023-08-14 14:49:34 +02:00
Lukas Eder
72f1a1ebcf [jOOQ/jOOQ#15005] Allow for overriding TablePath generated class names in GeneratorStrategy::getClassName with a new Mode.PATH 2023-08-14 11:26:09 +02:00
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