Commit Graph

1062 Commits

Author SHA1 Message Date
Lukas Eder
e7890e4671 [jOOQ/jOOQ#13163] Compilation error when PostgreSQL stored function has
an ANYARRAY data type reference
2022-02-28 18:00:00 +01:00
Lukas Eder
c2a5d8addc [jOOQ/jOOQ#10763] Official jOOQ-postgres-extensions bindings should register themselves as low priority bindings if found on the code generation classpath 2022-02-28 15:32:40 +01:00
Lukas Eder
8dbd3a939b [jOOQ/jOOQ#13137] Change default for <pojosEqualsAndHashCode/> code
generation option to true
2022-02-24 11:22:17 +01:00
Lukas Eder
2d035528dc [jOOQ/jOOQ#13135] Generate mapping() deconstruction convenience methods on generated Tables if <recordsImplementingRecordN/> is set 2022-02-24 10:37:49 +01:00
Lukas Eder
6cf2bf9353 [jOOQ/jOOQ#13069] Support <rowConvenienceToOne/> in kotlin, scala 2022-02-23 15:39:56 +01:00
Lukas Eder
f492aa31c1 [jOOQ/jOOQ#13069] Implementation draft for <rowConvenienceToOne/> 2022-02-23 08:56:18 +01:00
Lukas Eder
8e237c0aa9 [jOOQ/jOOQ#13107] Fix regression of XMLDatabase 2022-02-21 11:57:25 +01:00
Lukas Eder
b8f1d35876 [jOOQ/jOOQ#13069] Generate convenience methods for common MULTISET and ROW nestings 2022-02-15 16:41:25 +01:00
Lukas Eder
eb73c795d7 [jOOQ/jOOQ#13063] Upgrade the jooq-codegen-3.17.0.xsd version 2022-02-14 11:37:18 +01:00
Lukas Eder
560f2af5fd [jOOQ/jOOQ#12608] Support referencing the same embeddable type multiple times per table
This includes:

- [jOOQ/jOOQ#13028] Generated DAOs should use an embeddable's referencingName, not name for the fetchByXYZ() and fetchRangeOfXYZ() methods
2022-02-09 12:48:27 +01:00
Lukas Eder
1d5c8c2ccf [jOOQ/jOOQ#13008] Compilation error in KotlinGenerator output when implicit join path cache conflicts with keyword 2022-02-08 13:47:52 +01:00
Lukas Eder
6063896ec0
Merge pull request #13010 from owyke/another-solution-to-kotlin-code-gen-issue
[#13008] Unquote keyword when mapping one to many relation
2022-02-08 13:42:58 +01:00
Oskar Wyke
d74d1c9655 [jOOQ#13008] Unquote keyword when mapping one to many relation 2022-02-07 16:32:13 +01:00
Lukas Eder
0c4d021614 [jOOQ/jOOQ#12992] Add additional check if any indexes are present 2022-02-07 10:09:38 +01:00
Per Lundberg
287daba8bb [jOOQ/jOOQ#12992] Automatically enable tables if indexes are enabled 2022-02-04 15:00:09 +02:00
Lukas Eder
8349672e57 [jOOQ/jOOQ#12951] Don't connect to JDBC without a configured URL 2022-01-27 14:42:25 +01:00
Lukas Eder
a18294daf4 [jOOQ/jOOQ#12951] GenerationTool should handle HSQLDB driver returning
null Connection on Driver::connect
2022-01-26 10:16:20 +01:00
Lukas Eder
bb5f6d1dab [jOOQ/jOOQ#7284] Upgraded to jooq-runtime-3.17.0.xsd 2022-01-10 16:09:58 +01:00
Lukas Eder
618a15f235 Release 3.17.0-SNAPSHOT 2022-01-04 16:34:34 +01:00
Lukas Eder
2b54cf7f1c [jOOQ/jOOQ#12759] Additional SQL statements after JDBC connection 2022-01-03 16:34:46 +01:00
Lukas Eder
0a5ecc33bf [jOOQ/jOOQ#12776] Compilation errors in generated code when enabling <pojosAsJavaRecordClasses> and <embeddables> 2022-01-03 09:15:55 +01:00
Lukas Eder
35a4d4936b [jOOQ/jOOQ#12407] It's called YugabyteDB, not Yugabyte 2021-12-31 10:48:20 +01:00
Lukas Eder
b88999c372 [jOOQ/jOOQ#10866] Generator produces an invalid enum with an underscore _ as the name 2021-12-10 14:57:57 +01:00
Lukas Eder
9e940cccc6 [jOOQ/jOOQ#6492] Added support for XML based meta data, and GenerationOption 2021-12-04 16:50:14 +01:00
Lukas Eder
1248fc494c [jOOQ/jOOQ#9641] Migrate bean validation 2021-12-03 08:55:38 +01:00
Lukas Eder
6a96121bff [jOOQ/jOOQ#9641] Migrate JPA 2021-12-02 21:40:49 +01:00
Lukas Eder
d52d2252f6 [jOOQ/jOOQ#9641] Migrate JAXB from javax.xml.bind to jakarta.xml.bind 2021-12-02 18:19:54 +01:00
Lukas Eder
814bb5b142 [jOOQ/jOOQ#9609] Add SQLDialect.H2_2_0_202 2021-12-02 15:15:29 +01:00
Lukas Eder
b6afa6862e [jOOQ/jOOQ#6492] [jOOQ/jOOQ#12664] Support STORED and VIRTUAL flags
Also, add support for SQL Server computed columns
2021-11-30 12:06:06 +01:00
Lukas Eder
aa43d13c21 [jOOQ/jOOQ#12663] Add EnumType.<E extends
EnumType>lookupLiteral(Class<E>, String) and generate
E.lookupLiteral(String) methods
2021-11-25 13:21:02 +01:00
Lukas Eder
08be0478da [jOOQ/jOOQ#6492] Add support for computed columns
- Add DataType<T>.generatedAlwaysAs(Field<T>)
- Add code generation support for:
  - H2
  - PostgreSQL
- Added parser support
- Added code generation tests
- Added DDL support
2021-11-23 16:45:28 +01:00
Lukas Eder
5a99d6da22 [jOOQ/jOOQ#12633] Move XSDs from jOOQ and jOOQ-meta to subpackages to
avoid split xsd packages
2021-11-17 15:48:27 +01:00
Lukas Eder
2c9295af0a [jOOQ/jOOQ#12630] The JavaGEnerator.printDeprecationIfUnknownType should
hint at a UDT being in a different schema
2021-11-16 11:14:24 +01:00
Lukas Eder
2a8e30b6a6 [jOOQ/jOOQ#10881] Scala's enums are Java classes 2021-11-10 12:16:43 +01:00
Lukas Eder
a280058080 [jOOQ/jOOQ#10881] Enum literals should be defined by generator strategies 2021-11-10 11:52:32 +01:00
Lukas Eder
15581a9958 [jOOQ/jOOQ#8431] Add support for PostgreSQL 11 procedures 2021-11-09 17:15:20 +01:00
Lukas Eder
f2a7dfd881 [jOOQ/jOOQ#12611] SQLDataType.null generated when using XMLDatabase with
lower case array type
2021-11-09 09:14:24 +01:00
Lukas Eder
2aa166f846 [jOOQ/jOOQ#9864] Generate additional record constructor
It is useful to have an additional record constructor that does not include the readonly columns. Further improvements to code generation might follow.
2021-11-08 11:04:39 +01:00
Lukas Eder
15b52ffafb [jOOQ/jOOQ#12601] Produce compilation error if code generator version
doesn't match runtime version
2021-11-04 14:01:49 +01:00
Lukas Eder
e06f06edb7 [jOOQ/jOOQ#9864] Added READONLY support in InformationSchema 2021-11-04 10:51:34 +01:00
Lukas Eder
2766eeb4b5 [jOOQ/jOOQ#12601] Produce compilation error if code generator version
doesn't match runtime version
2021-11-04 10:33:56 +01:00
Lukas Eder
15004cdc1d Updated Constants.XSD_CODEGEN 2021-11-02 16:42:35 +01:00
Lukas Eder
284d1d095b [jOOQ/jOOQ#9864] Implement <readonlyIdentities/> 2021-11-02 15:01:32 +01:00
Lukas Eder
eb126b2ee0 [jOOQ/jOOQ#8388] Generate Table.rowid() overrides, implement KotlinGenerator and ScalaGenerator, improved configuration 2021-11-02 14:17:48 +01:00
Lukas Eder
e1d3a45206 [jOOQ/jOOQ#12585] Use INFO level instead of WARNING level for routines with more than 254 parameters 2021-11-02 11:52:06 +01:00
Lukas Eder
b7154e57b9 [jOOQ/jOOQ#8388] Add code generation option to generate a synthetic, readonly ROWID column (WIP) 2021-11-02 11:50:48 +01:00
Lukas Eder
27d911dede [jOOQ/jOOQ#12583] Generate DAO.fetchOptionalBy[Column] methods 2021-11-01 13:58:31 +01:00
Lukas Eder
9de6ba83de [jOOQ/jOOQ#9864] Add support for readonly columns
- Added synthetic readonly column codegen config
- Added code generation logic
- Added DataTypeDefinition.readonly()
- Added DataType.readonly()
2021-10-29 16:24:01 +02:00
Lukas Eder
942697a219 Log jOOQ logo earlier in code generator 2021-10-29 13:25:07 +02:00
Lukas Eder
c6d89c78e0 [jOOQ/jOOQ#10149] Duh exports, not opens! 2021-10-21 16:27:05 +02:00