Lukas Eder
b3a044b621
[ jOOQ/jOOQ#13069 ] Revert prototype
2022-06-07 12:01:24 +02:00
Lukas Eder
4c92db68c6
[ jOOQ/jOOQ#13069 ] Deactivate the experimental feature for now
2022-06-03 10:39:58 +02:00
Lukas Eder
768f5033b4
[ jOOQ/jOOQ#13619 ] Revert this for now, until compilation issues are understood
2022-05-31 12:29:08 +02:00
Lukas Eder
c17bd6eba3
[ jOOQ/jOOQ#13619 ] No idea what I'm doing...
2022-05-31 12:06:37 +02:00
Lukas Eder
e63719fad0
[ jOOQ/jOOQ#12430 ] Make Java 17 the baseline for the jOOQ Open Source Edition
2022-05-23 16:45:35 +02:00
Lukas Eder
2da6648520
[ jOOQ/jOOQ#11071 ] Fix for Java < 16
...
Before Java 16, static classes couldn't be nested in inner classes!
2022-05-20 17:11:23 +02:00
Lukas Eder
1340f23008
[ jOOQ/jOOQ#11071 ] Java 8 fix
2022-05-19 21:00:48 +02:00
Lukas Eder
d54a522af8
[ jOOQ/jOOQ#9817 ] Generate text blocks for views
2022-05-19 20:40:24 +02:00
Lukas Eder
0d60fd887f
[ jOOQ/jOOQ#9817 ] Added config
2022-05-19 15:46:17 +02:00
Lukas Eder
65e3a39f2b
[ jOOQ/jOOQ#11071 ] First prototype committed
...
- Added code generation configuration
- Simple code generation implementation
- Simple integration tests
2022-05-19 15:28:46 +02:00
Lukas Eder
9bbf43fba6
[ jOOQ/jOOQ#13557 ] MySQL / MariaDB generated columns with enum type are
...
not generated as readonly
2022-05-17 16:23:40 +02:00
Lukas Eder
b95715d1fc
[ jOOQ/jOOQ#13558 ] Add a PrefixSuffixGeneratorStrategy to jOOQ-codegen
2022-05-13 16:00:59 +02:00
Lukas Eder
95bc88e5fe
[ jOOQ/jOOQ#13069 ] Added <existsConvenience/>
2022-05-13 09:21:23 +02:00
Lukas Eder
7f416b3136
[ jOOQ/jOOQ#13546 ] Stop aligning generated POJO members and constructor arguments in columns
2022-05-12 15:50:08 +02:00
Lukas Eder
78792b0659
[jOOQ/jOOQ#10677¨Add <onUnused/> to code generation configuration to specify behaviour when encountering unused objects
2022-05-11 16:05:07 +02:00
Lukas Eder
0bab3f41fa
[ jOOQ/jOOQ#13457 ] New configuration to generate implicit join definitions ALWAYS from foreign key name
2022-05-05 11:47:16 +02:00
Lukas Eder
51ba61d336
[ jOOQ/jOOQ#13516 ] KotlinGenerator should generate implicit joins path
...
accessors as properties
2022-05-03 16:40:18 +02:00
Lukas Eder
b7fc10238c
[ jOOQ/jOOQ#5641 ] Support overriding code generation <target/> configuration via system properties
2022-05-02 11:54:40 +02:00
Lukas Eder
dae248ac3e
[ jOOQ/jOOQ#13467 ] Generate @Suppress(INAPPLICABLE_JVM_NAME) everywhere
2022-04-21 10:02:28 +02:00
Lukas Eder
0b3c99e00a
[ jOOQ/jOOQ#13467 ] KotlinGenerator should generate open properties in generated records
2022-04-21 09:48:26 +02:00
Lukas Eder
90f0a01c91
[ jOOQ/jOOQ#13434 ] Log unused synthetic columns
2022-04-11 11:13:12 +02:00
Lukas Eder
124368ce3e
[ jOOQ/jOOQ#13439 ] No warning is logged when readonly columns or rowids are not used
2022-04-11 11:07:24 +02:00
Lukas Eder
d3b700685d
[ jOOQ/jOOQ#9879 ] Support VIRTUAL client side computed columns
2022-04-08 17:04:34 +02:00
Lukas Eder
f7e72cd17d
[ jOOQ/jOOQ#13432 ] Add <visibilityModifier/> code generation option to <forcedType/>
2022-04-07 14:56:07 +02:00
Lukas Eder
fd05a97f92
[ jOOQ/jOOQ#13393 ] Replace internal usage of
...
DatatypeConverter::parseBase64Binary by java.util.Base64
2022-03-31 14:53:49 +02:00
Lukas Eder
95bd4ecce8
[ jOOQ/jOOQ#13355 ] Invalid code generated when pojosEqualsAndHashCode option is enabled and column name is 'other'
2022-03-28 15:50:33 +02:00
Lukas Eder
10b8a6176d
[ jOOQ/jOOQ#13336 ] Generate covariant overrides for Table.rename(Table) and Table.as(Table) methods
2022-03-24 15:59:26 +01:00
Lukas Eder
953501b380
[ jOOQ/jOOQ#13324 ] Code generation output shouldn't print table mapping output, if it's the same as the input
2022-03-23 10:08:22 +01:00
Lukas Eder
02df3dced5
[ jOOQ/jOOQ#9879 ] Add support for client side GENERATED ALWAYS AS - WIP
2022-03-23 10:03:44 +01:00
Lukas Eder
11dbdbb75e
[ jOOQ/jOOQ#13319 ] Generated records shouldn't have a @ConstructorProperties annotation on their POJO constructor
2022-03-22 08:56:25 +01:00
Lukas Eder
a8b4fa6231
[ jOOQ/jOOQ#13315 ] Compilation error in generated UDTRecord's POJO constructor if the UDT contains arrays of table records
2022-03-21 16:33:39 +01:00
Lukas Eder
af4c3396ea
[ jOOQ/jOOQ#11424 ] Improve the alignment of GenerationTool INFO log
2022-03-21 12:38:38 +01:00
Lukas Eder
69f4fa3066
[ jOOQ/jOOQ#10756 ] Generate @Transactional on DAOImpl and generated DAOs
...
query-methods
2022-03-11 11:04:14 +01:00
Lukas Eder
ed778cf7b3
[ jOOQ/jOOQ#13143 ] Add code generation flags to turn off the recognition
...
of jOOQ-specific types
2022-03-09 10:40:29 +01:00
Lukas Eder
77c1cd2ebf
[ jOOQ/jOOQ#13211 ] KotlinGenerator cannot read existing catalog/schema
...
version
2022-03-04 15:35:43 +01:00
Lukas Eder
da2aa57f11
[ jOOQ/jOOQ#2968 ] Added daterange support
2022-03-01 17:34:03 +01:00
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
Lukas Eder
a9d8e9e67d
[ jOOQ/jOOQ#10149 ] Modularise more modules
...
- jOOQ-codegen (add opens)
- jOOQ-postgres-extensions (add opens)
2021-10-15 09:58:23 +02:00
Lukas Eder
8c15e0c97f
[ jOOQ/jOOQ#10149 ] Modularise more modules
...
- jOOQ-codegen
- jOOQ-meta
- jOOQ-postgres-extensions
2021-10-15 09:55:21 +02:00
Lukas Eder
bd83f2bbc3
[ jOOQ/jOOQ#12488 ] Add Maven groupId info to Constants
2021-10-07 15:14:45 +02:00
Lukas Eder
6f329c16f7
[ jOOQ/jOOQ#12488 ] More robust version check (e.g. NoClassDefFoundError)
2021-10-07 15:06:53 +02:00
Lukas Eder
74005c452d
[ jOOQ/jOOQ#12488 ] Log warning in code generator when wrong runtime
...
version is used
2021-10-07 15:03:44 +02:00
Lukas Eder
6ecb5b5cd8
[ jOOQ/jOOQ#12457 ] Generate some Javadoc on implicit join path navigation methods
2021-09-29 14:03:56 +02:00
Lukas Eder
7b689b0a98
[ jOOQ/jOOQ#12459 ] KotlinGenerator setter return type must be Unit also for records
2021-09-21 14:06:33 +02:00
Lukas Eder
84b01f3398
[ jOOQ/jOOQ#12440 ] Compilation error in KotlinGenerator generated code
...
when @set:JvmName is applied to overriding property
2021-09-17 10:04:35 +02:00
Octavia Togami
1dbbcaa7ef
Fix generating multi-key DAOs with Java records
...
The single-key case was correctly mapped for this, but not the multi-key
case.
2021-09-16 18:17:30 -07:00
Lukas Eder
c04bac5d21
[ jOOQ/jOOQ#12407 ] Add a SQLDialect.YUGABYTE dialect (WIP)
2021-09-09 09:43:07 +02:00
Lukas Eder
0d7eb1748f
[ jOOQ/jOOQ#12405 ] CLI programs should set java.util.loggin.SimpleFormatter.format if not already set
2021-09-07 15:00:02 +02:00
Lukas Eder
6149f674d3
[ jOOQ/jOOQ#5620 ] OSS edition fix
2021-07-26 13:44:51 +02:00
Lukas Eder
280043cdad
[ jOOQ/jOOQ#5620 ] Add support for PL/SQL associative array types
...
- New AssociativeArrayRecord API
- Code generation support
- Support for OUT parameters
- [jOOQ/jOOQ#12251 ] Read DBMS_SQL.XYZ_TABLE as ARRAY not CURSOR
- Re-generated test code
- Updated integration tests
2021-07-23 15:44:10 +02:00
Lukas Eder
2b298c27c0
[ jOOQ/jOOQ#12238 ] Deprecate Internal.fieldsRow(TableField)
2021-07-21 15:46:33 +02:00
Lukas Eder
bc80a8089b
[ jOOQ/jOOQ#12216 ] Remove references to javax.annotation.Generated from
...
jooq-codegen Javadoc
2021-07-17 15:32:33 +02:00
Lukas Eder
888b1cf143
[ jOOQ/jOOQ#12148 ] Setter return type must be Unit & '@set:' annotations could be applied only to mutable properties
2021-07-12 10:04:24 +02:00
Lukas Eder
53e49ff76f
[ jOOQ/jOOQ#12118 ] Fix this also in ScalaGenerator
2021-07-09 10:34:40 +02:00
Lukas Eder
f14fdafef8
[ jOOQ/jOOQ#12118 ] Regression in SQLite code generation for unnamed composite pkeys on JDK 9+ with the jOOQ Open Source Edition
2021-07-09 10:06:50 +02:00
Lukas Eder
c67e718892
Release 3.16.0-SNAPSHOT
2021-07-05 17:30:40 +02:00
Lukas Eder
e946c6f09a
[ jOOQ/jOOQ#12093 ] Add <includeExcludePackageRoutines/> to let code generator <includes/> and <excludes/> match package procedures and functions
2021-07-01 16:13:51 +02:00
Lukas Eder
91e5d938ff
[ jOOQ/jOOQ#11912 ] More general and configurable fix
2021-06-10 15:49:01 +02:00
Lukas Eder
67639e1076
[ jOOQ/jOOQ#11912 ] KotlinGenerator generates invalid code when column names X and isX clash
2021-05-26 11:06:30 +02:00
Lukas Eder
c52b01f8c5
[ jOOQ/jOOQ#2620 ] BigQuery support (WIP)
...
- Generate correct view sources
- Query INFORMATION_SCHEMA.TABLES and COLUMNS directly
- Add array type support in code generator
- Re-generated code
- Updated code generation configuration
2021-05-24 12:29:55 +02:00
Lukas Eder
64e113261a
[ jOOQ/jOOQ#10287 ] Fix <interfaces/>
2021-04-29 16:55:01 +02:00
Lukas Eder
8526e62635
[ jOOQ/jOOQ#10287 ] Fix record getter access in DAO.getId()
2021-04-29 16:31:14 +02:00
Lukas Eder
69c5bd66f1
[ jOOQ/jOOQ#11801 ] Move Tools content to the top level
2021-04-26 08:56:56 +02:00
Lukas Eder
fcc258bfe8
[ jOOQ/jOOQ#11787 ] Add an <includeSystemUDTs/> flag to turn on/off the
...
generation of system UDTs
2021-04-21 11:35:25 +02:00
Lukas Eder
48e6c35561
[ jOOQ/jOOQ#7863 ] Link Oracle %ROWTYPE references to their corresponding
...
table types
2021-04-20 17:31:20 +02:00
Lukas Eder
985b3e3e93
[ jOOQ/jOOQ#11729 ] Put text block emulations in parens
2021-04-20 12:10:01 +02:00
Lukas Eder
e694f3de92
[ jOOQ/jOOQ#10287 ] Don't generate copy constructor on records
2021-04-20 10:39:18 +02:00
Lukas Eder
17dfdbb57c
[ jOOQ/jOOQ#10287 ] Add <pojosAsJavaRecordClasses/> to allow for generating Java POJOs as JDK records instead
2021-04-19 21:12:13 +02:00
Lukas Eder
1923468386
[ jOOQ/jOOQ#11729 ] Use text blocks in tests
2021-04-16 20:56:08 +02:00
Lukas Eder
4746bc2311
[ jOOQ/jOOQ#11183 ] Handle POJO nullability in constructors
2021-04-15 10:51:46 +02:00
Lukas Eder
b0c4723326
[ jOOQ/jOOQ#11774 ] Add a <priority/> to <forcedType/>
2021-04-14 16:56:28 +02:00
Lukas Eder
c2f8428511
[ jOOQ/jOOQ#11183 ] kotlin and scala fixes
2021-04-14 14:49:33 +02:00
Lukas Eder
04283e90df
[ jOOQ/jOOQ#11183 ] Fix UDT code generation
2021-04-14 13:06:17 +02:00
Lukas Eder
fc07885dfe
[ jOOQ/jOOQ#11625 ] GeneratorStrategy references package-private AbstractGenerator.Language class
2021-03-12 13:06:21 +01:00
Lukas Eder
ac4458a86e
[ jOOQ/jOOQ#1985 ] Add EXASOL support (WIP)
2021-03-09 13:46:21 +01:00
Lukas Eder
fd756190b1
[ jOOQ/jOOQ#11495 ] Remove pre 3.5 deprecated API
2021-02-22 16:05:56 +01:00
Lukas Eder
1c11fe7d6f
[ jOOQ/jOOQ#11286 ] Use org.jooq.Meta to discover SQLite primary key,
...
unique key, and foreign key names in code generator
2021-01-22 19:20:40 +01:00
Lukas Eder
c06bcfeec4
[ jOOQ/jOOQ#11286 ] Use org.jooq.Meta to discover SQLite primary key, unique key, and foreign key names in code generator
2021-01-22 17:34:28 +01:00
Lukas Eder
d7810d9d59
[ jOOQ/jOOQ#11259 ] NullPointerException when using table valued function
...
without explicit parameters
2021-01-20 12:37:22 +01:00
Lukas Eder
619bb92702
[ jOOQ/jOOQ#11194 ] Fixed formatting regression
2021-01-14 17:38:38 +01:00
Lukas Eder
a1b08de279
[ jOOQ/jOOQ#11218 ] KotlinGenerator generates Record[N]<T1, T2, ..., TN>
...
for PK types in DAOs, instead of Record[N]<T1?, T2?, ..., TN?>
2021-01-13 09:37:32 +01:00
Lukas Eder
54938152a9
[ jOOQ/jOOQ#11196 ] Drop support for Java 6 and 7
...
- More IntelliJ inspections fixed
2021-01-08 21:28:04 +01:00
Lukas Eder
918f91b028
[ jOOQ/jOOQ#11196 ] Drop support for Java 6 and 7
...
Runtime library - language usage
- Removed [java-8] tags
- Removed F functional interfaces
- Removed Meta.Predicate functional interfaces
- Converted anonymous classes to lambdas
- Removed some explicit final keywords where effectively final works
- Removed Java 6 Jenkinsfile
- try-with-resources
- Merged some catch blocks
- Get rid of type witnesses where possible
Runtime library - JDK API usage
- Prefer Collection.sort() over Collections.sort()
- Use Map.computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Map::computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Comparator::comparing and Comparator::thenComparing
- Use Stream API where not performance critical
- Replaced Map::entrySet iterations by Map::forEach
- Use ResultQuery::collect
- Map::putIfAbsent
Code generation
- Generate lambda for LazySchema's LazySupplier
Unrelated
- Applied a few IntelliJ inspections
- Remove unnecessary explicit array creation
2021-01-08 12:35:47 +01:00
Lukas Eder
b169a60490
[ jOOQ/jOOQ#11194 ] Fixed edge cases
2021-01-06 12:48:45 +01:00
Lukas Eder
562095f27e
[ jOOQ/jOOQ#11194 ] Add code generation configuration for Javadoc line
...
wrapping
2021-01-06 11:32:04 +01:00
Lukas Eder
cfda89a5e8
[ jOOQ/jOOQ#11189 ] Fixed deprecated annotation formatting
2021-01-05 17:37:47 +01:00
Lukas Eder
4bc3f9fb27
[ jOOQ/jOOQ#11189 ] Fixed line wrapping
2021-01-05 17:15:10 +01:00
Lukas Eder
2186758e91
[ jOOQ/jOOQ#9728 ] Log unused warning
2021-01-05 16:34:30 +01:00
Lukas Eder
1f9f3dc269
[ jOOQ/jOOQ#9728 ] Add <comments/> configuration to allow for generating
...
custom Javadoc on generated code
This includes:
- [jOOQ/jOOQ#11189 ] Improve generated Javadoc formatting
2021-01-05 16:26:59 +01:00
Lukas Eder
0a8cc44eae
[ jOOQ/jOOQ#11182 ] Generate DAO.fetchByXYZ() methods for embeddable types
...
This includes:
- [jOOQ/jOOQ#11183 ] Generate record constructor taking a generated POJO
- [jOOQ/jOOQ#11187 ] Add DAO.fetch(Field<Z>, Collection<? extends Z>)
2021-01-04 18:47:56 +01:00
Lukas Eder
53fff73f84
[ jOOQ/jOOQ#11179 ] Compilation errors in generated DAOs when embeddables
...
use <replacesFields/>
2021-01-04 16:38:48 +01:00
Lukas Eder
35cc45baa9
[ jOOQ/jOOQ#11185 ] Compilation errors in generated embeddable pojos if
...
the embeddable is located in a "synthetic" schema
2021-01-04 16:33:20 +01:00
Lukas Eder
98048c8b69
[ jOOQ/jOOQ#11180 ] Clarify unused logger warning message about what is
...
obsolete
2021-01-04 13:21:57 +01:00
Lukas Eder
5a933882e8
[ jOOQ/jOOQ#11176 ] Add <includeSystemTables/> to exclude SQLite virtual table implementation tables from code generation
2021-01-04 10:28:15 +01:00
Lukas Eder
c67da36141
[ jOOQ/jOOQ#11116 ] Workaround for https://stackoverflow.com/a/47105843/521799
2020-12-14 12:45:15 +01:00
Lukas Eder
89142ca9e6
[ jOOQ/jOOQ#8762 ] [ jOOQ/jOOQ#11115 ] Table.getSchema() should return null
...
on aliased tables
2020-12-11 15:34:44 +01:00
Lukas Eder
01065c4ea0
[ jOOQ/jOOQ#11116 ] Cache implicit join path references
2020-12-11 14:53:53 +01:00
Lukas Eder
ddae3adfca
[ jOOQ/jOOQ#11105 ] NullPointerException when GenerationTool is not properly initialised
2020-12-08 15:19:03 +01:00
Lukas Eder
5c41eea8e3
[ jOOQ/jOOQ#11103 ] NullPointerException when custom JavaGenerator subclasses don't call JavaWriter.printPackageSpecification()
2020-12-08 14:38:37 +01:00
Lukas Eder
c254373003
[ jOOQ/jOOQ#11101 ] Misleading error message when something goes wrong in the code generator
2020-12-08 09:13:48 +01:00
Lukas Eder
a95431170d
[ jOOQ/jOOQ#11095 ] KotlinGenerator should take ParameterDefinition nullability into consideration
2020-12-04 15:19:39 +01:00
Lukas Eder
b8f36e6ec1
[ jOOQ/jOOQ#11058 ] Reference AbstractRow if possible
2020-12-03 15:30:52 +01:00
Lukas Eder
8cc490166c
[ jOOQ/jOOQ#11054 ] [ jOOQ/jOOQ#11063 ] Generate source for synthetic TVFs
2020-12-01 17:56:02 +01:00
Lukas Eder
b5a6ef98c6
[ jOOQ/jOOQ#11054 ] WIP
2020-12-01 16:06:12 +01:00
Lukas Eder
72fdacae23
[ jOOQ/jOOQ#11057 ] KotlinGenerator should generate kotlin.Deprecated annotation instead of java.lang.Deprecated
2020-12-01 13:16:47 +01:00
Lukas Eder
c5262f505d
[ jOOQ/jOOQ#9067 ] A better approach to this fix
2020-11-30 13:23:55 +01:00
Lukas Eder
a6461d6311
[ jOOQ/jOOQ#9067 ] StackOverflowError generating code from Postgresql XML
...
schema with ARRAY columns
2020-11-27 13:29:31 +01:00
Lukas Eder
0c97a608ee
[ jOOQ/jOOQ#11032 ] Compilation errors for <implicitJoinPathsToOne/> when
...
referenced table is called RECORD_TYPE
2020-11-26 17:35:22 +01:00
Lukas Eder
159eb759e7
[ jOOQ/jOOQ#11017 ] KotlinGenerator should generate equals(other: Any?),
...
not equals(obj: Any?) on pojos
2020-11-24 10:13:25 +01:00
Lukas Eder
64445647f7
[ jOOQ/jOOQ#11016 ] Kotlin POJO generator produces wrong equals/hashCode for binary types
2020-11-24 09:59:28 +01:00
Lukas Eder
e4aa7c1eed
[ jOOQ/jOOQ#10801 ] Add JavaGenerator.printDaoConstructorAnnotations() to allow for custom annotations in generated DAO constructors
2020-11-20 15:43:45 +01:00
Lukas Eder
c4d3644872
[ jOOQ/jOOQ#10998 ] Add <enumsAsScalaSealedTraits/> to let ScalaGenerator
...
generate Java enums or Dotty enums
2020-11-20 13:50:06 +01:00
Lukas Eder
853e90077c
[ jOOQ/jOOQ#10900 ] Compilation error in KotlinGenerator generated code,
...
when OTHER data type columns have a default value
2020-11-16 10:06:50 +01:00
Lukas Eder
b5f80d0b0f
[ jOOQ/jOOQ#10851 ] Add <visibilityModifier/> to allow for generating explicit / implicit public visibility, as well as internal in KotlinGenerator
2020-11-12 16:39:59 +01:00
Lukas Eder
495db82308
[ jOOQ/jOOQ#10529 ] Ignore <records>false</records> for UDTRecords
2020-11-12 11:58:20 +01:00
Lukas Eder
3ffe6de499
[ jOOQ/jOOQ#10923 ] KotlinGenerator produces compilation errors in UDT
...
Records when <recordsImplementingRecordN/> is true
2020-11-12 10:38:36 +01:00
Lukas Eder
efc6faf0e3
[ jOOQ/jOOQ#10877 ] Compilation error in ScalaGenerator generated code
...
when table has column "CLASS"
2020-11-11 15:29:45 +01:00
Lukas Eder
676b4ef9c5
[ jOOQ/jOOQ#10915 ] Wrong code generated by KotlinGenerator for
...
<validationAnnotations/>
2020-11-11 15:12:24 +01:00
Lukas Eder
0e456c703f
[ jOOQ/jOOQ#10904 ] KotlinGenerator produces compilation error in generated interfaces when <jpaAnnotations/> is set
2020-11-11 14:26:33 +01:00
Lukas Eder
0114c2a300
[ jOOQ/jOOQ#10783 ] KotlinGenerator does not annotate properties with
...
<jpaAnnotations/>
2020-11-10 17:26:02 +01:00
Lukas Eder
6d0c56e422
[ jOOQ/jOOQ#10899 ] Add <includeSystemSequences/> to code generator configuration
2020-11-09 16:39:14 +01:00
Lukas Eder
8a3098c3dc
[ jOOQ/jOOQ#10805 ] Kotlin POJOs with array properties must implement
...
equals() and hashCode()
2020-11-09 14:42:20 +01:00
Lukas Eder
c4c727264a
[ jOOQ/jOOQ#10546 ] [ jOOQ/jOOQ#10883 ] [ jOOQ/jOOQ#10884 ]
...
- [jOOQ/jOOQ#10546 ] Add { Schema, Meta } . { getUniqueKeys(),
getForeignKeys(), getIndexes() }
- [jOOQ/jOOQ#10883 ] Add Table.getUniqueKeys()
- [jOOQ/jOOQ#10884 ] Change jOOQ-meta Relations.getUniqueKeys() to return
unique keys only
2020-11-06 15:06:41 +01:00
Lukas Eder
c7f8c8e044
[ jOOQ/jOOQ#10877 ] Compilation error in ScalaGenerator generated code
...
when table has column CLASS
2020-11-06 11:01:30 +01:00
Lukas Eder
62ac3886a3
[ jOOQ/jOOQ#10778 ] Add support for Packages, UDTs, and ArrayRecord in
...
KotlinGenerator
2020-11-06 10:17:53 +01:00
Lukas Eder
5e1ab3ed5b
[ jOOQ/jOOQ#10871 ] Add to kotlin keywords for use in KotlinGenerator
2020-11-05 17:56:34 +01:00
Lukas Eder
a4728bafe9
[ jOOQ/jOOQ#10778 ] Add support for Packages, UDTs, and ArrayRecord in
...
KotlinGenerator
2020-11-05 17:49:48 +01:00
Lukas Eder
41e1949d27
[ jOOQ/jOOQ#10867 ] KotlinGenerator should quote identifiers containing $
2020-11-05 17:20:09 +01:00
Lukas Eder
78c002fa02
[ jOOQ/jOOQ#10851 ] KotlinGenerator should produce Explicit API mode compatible code
2020-11-04 11:42:20 +01:00
Lukas Eder
0ec6fc7525
Removed unused method
2020-11-03 10:04:19 +01:00
Lukas Eder
0fc060ae93
[ jOOQ/jOOQ#10837 ] KotlinGenerator produces invalid syntax for enums with special characters
2020-11-03 09:43:14 +01:00
Lukas Eder
3e82394bef
[ jOOQ/jOOQ#10835 ] KotlinGenerator should produce open classes
2020-11-02 16:40:44 +01:00
Lukas Eder
65b97aed0e
[ jOOQ/jOOQ#10812 ] Compilation error in KotlinGenerator generated code when <enumConverter/> flag is turned on
2020-10-29 13:36:16 +01:00
Lukas Eder
01f332fa0c
[ jOOQ/jOOQ#10761 ] KotlinGenerator produces invalid syntax for PostgreSQL enum types
2020-10-29 12:07:04 +01:00
Lukas Eder
4b34e97651
[ jOOQ/jOOQ#10787 ] KotlinGenerator and ScalaGenerator don't produce
...
correct POJO.toString(), equals(), hashCode() methods for array types
2020-10-22 16:57:44 +02:00
Lukas Eder
d39059919b
[ jOOQ/jOOQ#10787 ] KotlinGenerator and ScalaGenerator don't produce correct POJO.toString(), equals(), hashCode() methods for array types
2020-10-22 16:45:40 +02:00
Lukas Eder
1acc6b15c2
[ jOOQ/jOOQ#10768 ] Kotlin codegen generates uncompileable model class for Postgres int[]
2020-10-22 16:04:03 +02:00
Lukas Eder
71b69bb151
[ jOOQ/jOOQ#10779 ] Compilation error in KotlinGenerator generated DAOs
...
for data type TINYINT
2020-10-22 13:10:54 +02:00
Lukas Eder
265b31e530
[ jOOQ/jOOQ#10782 ] Wrong code generated for <jpaAnnotations/> Table
...
annotations with KotlinGenerator
2020-10-22 12:46:44 +02:00
Lukas Eder
7d1f95adf6
[ jOOQ/jOOQ#10771 ] KotlinGenerator creates incorrect @Generated annotation
2020-10-21 12:39:14 +02:00
Lukas Eder
3f063e2df6
[ jOOQ/jOOQ#10767 ] Kotlin code generator generates Record with invalid
...
kotlin syntax when a column is named "value" and
<recordsImplementingRecordN/> is true
2020-10-21 10:18:17 +02:00
Lukas Eder
7cff2cae7e
Release 3.15.0-SNAPSHOT
2020-10-20 10:20:20 +02:00
Lukas Eder
44f13d4b4b
[ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10511 ] Use regexes instead of booleans
...
embeddable keys and domains configurations should not just be boolean flags turning the feature on and off, but regular expressions matching specific objects, as always. This way, the feature can be turned on e.g. only for 1 schema, or for some tables, etc.
2020-10-08 14:40:24 +02:00
Lukas Eder
6e13255f9c
[ jOOQ/jOOQ#10481 ] Fixed Scala code generation
2020-10-08 11:36:33 +02:00
Lukas Eder
cf276eaf3c
[ jOOQ/jOOQ#10481 ] Fixed Kotlin code generation
2020-10-08 11:14:45 +02:00
Lukas Eder
0166a3e1a2
[ jOOQ/jOOQ#10481 ] Fixed Scala and Kotlin code generation
2020-10-07 17:33:58 +02:00
Lukas Eder
e31c815a10
[ jOOQ/jOOQ#10481 ] Support <recordsImplementingRecordN/>
2020-10-07 16:58:26 +02:00
Lukas Eder
dc47fdd342
[ jOOQ/jOOQ#8139 ] scala.UninitializedFieldError in runtime using
...
generated data objects
2020-10-02 14:32:08 +02:00
Lukas Eder
2811d8e18b
[ jOOQ/jOOQ#10648 ] Don't log this info if we're already using schema version providers
2020-09-25 17:23:09 +02:00
Lukas Eder
81e3d91e80
[ jOOQ/jOOQ#10653 ] Make the JavaGenerator::INITIALISER_SIZE configurable through <maxMembersPerInitialiser/>
2020-09-25 16:17:25 +02:00
Lukas Eder
f541eda04d
[ jOOQ/jOOQ#10654 Make the generation of the serialVersionUID configurable
2020-09-25 15:50:27 +02:00
Lukas Eder
90344a14cd
[ jOOQ/jOOQ#10648 ] Log info when code generation run doesn't produce any difference
2020-09-18 11:29:13 +02:00
Lukas Eder
df5f0cdd14
[ jOOQ/jOOQ#10632 ] [ jOOQ/jOOQ#10633 ]
...
- Log all column and parameter types in DEBUG level in JavaGenerator
- Add DataTypeDefinition.getMatchNames()
2020-09-15 16:19:24 +02:00
Lukas Eder
4ea1ab465f
[ jOOQ/jOOQ#10588 ] Apply synthetic keys to jOOQ-meta, use implicit joins (WIP)
2020-09-04 17:51:20 +02:00
Lukas Eder
3616cc43c7
[ jOOQ/jOOQ#10588 ] Rename <syntheticKeys/> to <syntheticObjects/>
2020-09-04 11:29:22 +02:00
Lukas Eder
d5365531c9
[ jOOQ/jOOQ#10588 ] Deprecate <overridePrimaryKeys/>
2020-09-04 09:31:19 +02:00
Lukas Eder
69fe7b2728
[ jOOQ/jOOQ#10587 ] NullPointerException when misconfiguring code generator, lacking a <database/>
2020-09-03 16:56:21 +02:00
Lukas Eder
10c12b3752
[ jOOQ/jOOQ#681 ] Generate also Schema.getDomains()
2020-09-03 15:01:55 +02:00
Lukas Eder
d864df381c
[ jOOQ/jOOQ#10554 ] Distribute indexes to nested classes only if necessary
2020-09-03 14:34:15 +02:00
Lukas Eder
f3b390a0d7
[ jOOQ/jOOQ#10586 ] Some missing nullable annotations in generated code
2020-09-03 14:17:12 +02:00
Lukas Eder
4a8078c3d5
[ jOOQ/jOOQ#10579 ] JavaWriter::beforeClose shouldn't search for package
...
using a regex
2020-09-03 10:25:32 +02:00
Lukas Eder
387912cbd1
[ jOOQ/jOOQ#10576 ] Compilation error when 2 Oracle packages both contain the same record type name
2020-09-02 16:10:08 +02:00
Lukas Eder
a35a6c052f
[ jOOQ/jOOQ#10554 ] Re-generated example code
2020-09-02 14:37:09 +02:00
Lukas Eder
792212a944
[ jOOQ/jOOQ#10554 ] Avoid workaround for too large initialisers when
...
unnecessary
2020-09-02 14:00:04 +02:00
Lukas Eder
fa532b4aa9
[ jOOQ/jOOQ#10575 ] Add some empty protected methods to generate custom
...
class footers in reference classes
2020-09-02 12:48:20 +02:00
Lukas Eder
ef181a93f6
[ jOOQ/jOOQ#6183 ] [ jOOQ/jOOQ#6248 ] Support kotlin package constants
...
All sorts of fixes, including:
- Putting Tables.kt and Routines.kt in a .references subpackage
- Correctly applying convertToIdentifier to package and class names
- Correctly applying escapeWindowsForbiddenNames
- Correctly importing generated constants
2020-09-02 12:13:02 +02:00
Lukas Eder
5aeadd3017
[ jOOQ/jOOQ#10561 ] Various compilation errors when schema, table, key
...
names conflict
2020-08-31 17:38:49 +02:00
Lukas Eder
c8e26f86c4
[ jOOQ/jOOQ#10532 ] Fixed generated code for Java 8 and less
2020-08-28 13:40:33 +02:00
Lukas Eder
ddf1175714
[ jOOQ/jOOQ#10534 ] <enumConverter/> and <lambdaConverter/> don't work in ScalaGenerator and KotlinGenerator
2020-08-28 11:22:17 +02:00
Lukas Eder
9d5c87d35a
[ jOOQ/jOOQ#10534 ] <enumConverter/> and <lambdaConverter/> don't work in ScalaGenerator and KotlinGenerator
2020-08-28 10:59:46 +02:00
Lukas Eder
da0a801bc5
[ jOOQ/jOOQ#10535 ] Generated code should import org.jooq.impl.SQLDataType if possible
2020-08-26 14:14:08 +02:00
Lukas Eder
fe96278656
[ jOOQ/jOOQ#8353 ] Support placing comments on embeddables
2020-08-21 17:13:48 +02:00
Lukas Eder
0abfdbec0c
[ jOOQ/jOOQ#2530 ] Minor scala code generation improvement
2020-08-21 16:27:48 +02:00
Lukas Eder
564b71b06b
[ jOOQ/jOOQ#9744 ] Java 6 fix
2020-08-21 15:14:33 +02:00
Lukas Eder
e58593e690
[ jOOQ/jOOQ#9744 ] Add <locale/> to code generator <target/> specification
2020-08-21 14:32:35 +02:00
Lukas Eder
afa0ce5748
[ jOOQ/jOOQ#10481 ] Don't generate record constructor with replaced fields
2020-08-20 17:18:17 +02:00
Lukas Eder
a742cffe27
[ jOOQ/jOOQ#10511 ] Add <embeddableDomains/> to allow for wrapping all
...
DOMAIN types in embeddables
This includes [jOOQ/jOOQ#10481 ] removing replaced getters / setters from
generated records
2020-08-20 16:51:56 +02:00
Lukas Eder
bb16438f07
[ jOOQ/jOOQ#10511 ] Add <embeddableDomains/> to allow for wrapping all
...
DOMAIN types in embeddables
2020-08-20 15:38:48 +02:00
Lukas Eder
c76e505a60
[ jOOQ/jOOQ#8353 ] Generate interfaces and POJOs
2020-08-20 13:31:26 +02:00
Lukas Eder
47d5276038
[ jOOQ/jOOQ#2530 ] Kotlin code generation fixes
2020-08-20 11:23:32 +02:00
Lukas Eder
76392c4220
[ jOOQ/jOOQ#6124 ] Java 6 type inference fix
2020-08-20 10:19:59 +02:00
Lukas Eder
c37fed5deb
[ jOOQ/jOOQ#10481 ] Generate an additional TableRecord constructor
...
In the presence of embeddables, there should be an additional TableRecord constructor taking the embeddables instead of the individual fields. If <replacesFields/> is enabled, that constructor will replace the other one.
2020-08-19 18:01:33 +02:00
Lukas Eder
a99454facd
[ jOOQ/jOOQ#2530 ] [ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10481 ]
...
Updated scala code generation
2020-08-19 17:25:09 +02:00
Lukas Eder
ddf6a931ae
[ jOOQ/jOOQ#2530 ] [ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10481 ]
...
Updated kotlin code generation
2020-08-19 17:18:35 +02:00
Lukas Eder
e0dc46000b
[ jOOQ/jOOQ#2530 ] [ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10481 ]
...
Correct getter and setter names for embeddable keys
2020-08-19 16:57:59 +02:00
Lukas Eder
8be5e78a0f
[ jOOQ/jOOQ#6124 ] Fixed mix up between defining and referencing columns
2020-08-19 16:36:47 +02:00
Lukas Eder
b19246ace2
[ jOOQ/jOOQ#10481 ] Added getters and setters for embeddable records in generated TableRecords
2020-08-19 15:33:43 +02:00
Lukas Eder
5ec18c6b08
[ jOOQ/jOOQ#8353 ] Add matcher strategy support for embeddables
2020-08-19 12:29:16 +02:00
Lukas Eder
14c2fac8f0
[ jOOQ/jOOQ#8353 ] Log warning when there are unused embeddables
2020-08-19 10:44:07 +02:00
Lukas Eder
d8a2b44e96
[ jOOQ/jOOQ#2530 ] Schemas with embeddables are not empty
2020-08-18 15:56:24 +02:00
Lukas Eder
80e81e89aa
[ jOOQ/jOOQ#2530 ] Fixed defining/referencing column names in embeddables
2020-08-18 15:20:26 +02:00
Lukas Eder
7e03b13d49
[ jOOQ/jOOQ#10498 ] Compilation error in generated code when there is a table called OVERRIDE
2020-08-18 10:16:39 +02:00
Lukas Eder
061e425340
[ jOOQ/jOOQ#2530 ] [ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10481 ]
...
Support overlapping embeddables
2020-08-14 17:13:35 +02:00
Lukas Eder
29bce7c908
[ jOOQ/jOOQ#2530 ] [ jOOQ/jOOQ#6124 ] [ jOOQ/jOOQ#10481 ] Improved embeddable support and added code generation support for embeddable keys
2020-08-12 17:11:36 +02:00
Lukas Eder
ee3bdcc6fd
[ jOOQ/jOOQ#9639 ] Apply Database::getOrderProvider to Keys.java content as well
2020-08-10 12:43:09 +02:00
Lukas Eder
e8977dfee1
[ jOOQ/jOOQ#10480 ] Avoid generating empty header comments in Keys.java
2020-08-10 12:11:04 +02:00
Lukas Eder
9e092d1617
[ jOOQ/jOOQ#10478 ] Add Matchers for catalogs
2020-08-10 11:36:51 +02:00
Lukas Eder
8d9281da47
[ jOOQ/jOOQ#10309 ] Add code generation support for arrays of domain types
2020-08-07 16:22:02 +02:00
Lukas Eder
79d60d0700
[ jOOQ/jOOQ#7070 ] Add code generation support for PostgreSQL types referencing domains
2020-08-07 15:05:28 +02:00
Lukas Eder
4c0e4ba770
[ jOOQ/jOOQ#681 ] Added code generator support for PostgreSQL domains
2020-08-06 18:03:13 +02:00
Lukas Eder
c1a4986a39
[ jOOQ/jOOQ#681 ] Added code generator support for H2 domains
2020-08-06 17:10:32 +02:00
Lukas Eder
da51a12265
[ jOOQ/jOOQ#10463 ] Configuration log level is ignored by GenerationTool for first log statements
2020-08-05 11:24:11 +02:00
Lukas Eder
5fd997e999
[ jOOQ/jOOQ#8576 ] More urgent deprecation warning
2020-07-17 16:51:53 +02:00
Lukas Eder
299f98616a
[ jOOQ/jOOQ#10397 ] Restore generating Table.getIdentity() overrides
...
But don't generate Identity constants, instead cast the super.getIdentity() result to a more narrow type.
2020-07-15 12:26:24 +02:00
Lukas Eder
12e20eb413
[ jOOQ/jOOQ#10397 ] Default implementation of AbstractTable.getIdentity() should check Table.fields() for any Field with DataType.identity()
2020-07-15 11:58:36 +02:00
Lukas Eder
43d89b6bbe
[ jOOQ/jOOQ#10394 ] <comments/> and related flags implemented incorrectly
...
in JavaGenerator
2020-07-14 16:08:59 +02:00
Lukas Eder
604feeeeea
[ jOOQ/jOOQ#10390 ] <sources/> and <sourcesOnViews/> are not implemented in XMLGenerator
2020-07-14 15:36:03 +02:00
Lukas Eder
903253f2e7
[ jOOQ/jOOQ#9945 ] Support TIMESTAMP(0) in code generator
2020-07-09 17:12:11 +02:00
Lukas Eder
9f3ff67f57
[ jOOQ/jOOQ#10355 ] Change JavaGenerator.printClassAnnotations() to (JavaWriter, Definition, Mode)
2020-07-03 15:55:58 +02:00
Lukas Eder
707d8eab61
[ jOOQ/jOOQ#4703 ] The underscore '_' is a reserved token in Java 9. The
...
jOOQ code generator should avoid generating it
2020-07-03 15:19:23 +02:00
Lukas Eder
e2d0d1455c
[ jOOQ/jOOQ#6186 ] Log warning if standalone <outputSchema/> element is not paired with <inputSchema/>
2020-07-03 11:36:08 +02:00
Lukas Eder
dbc7475685
[ jOOQ/jOOQ#4691 ] Add an unused forced type hint about Pattern.COMMENTS being turned on to help debug regexes with whitespace
2020-07-03 10:56:47 +02:00
Lukas Eder
4b937703dc
[ jOOQ/jOOQ#10338 ] XMLGenerator should produce 1-based <ordinal_position/> in <key_column_usage/>
2020-07-01 15:02:43 +02:00
Lukas Eder
8f9c389132
[ jOOQ/jOOQ#8553 ] Add support for foreign keys referencing unique key
...
columns in different order than in the unique key definition
- Added new runtime meta API
- Added interpreter and org.jooq.Meta support
- Added code generation support
2020-06-30 16:28:25 +02:00
Lukas Eder
9707e1ebd3
[ jOOQ/jOOQ#10331 ] Split jOOQ-meta-extensions into jOOQ-meta-extensions-hibernate and jOOQ-meta-extensions-liquibase
...
This fixes [jOOQ/jOOQ#10268 ] Unrelated Liquibase error when using jooq-meta-extensions with Spring Boot
2020-06-30 12:50:29 +02:00
Lukas Eder
683d043322
Long source code workaround allocates substrings twice #10318
2020-06-24 16:08:12 +02:00
Lukas Eder
4aef6db5ef
[ jOOQ/jOOQ#6248 ] [ jOOQ/jOOQ#10288 ] Add <pojosAsKotlinDataClasses/> to
...
the code generator to generate data classes
2020-06-17 12:34:59 +02:00
Lukas Eder
7712891962
[ jOOQ/jOOQ#3713 ] [ jOOQ/jOOQ#10191 ] Add <pojosAsScalaCaseClasses/> to the
...
code generator to generate case classes
2020-06-17 11:35:31 +02:00
Lukas Eder
f1c63cfc07
[ jOOQ/jOOQ#3713 ] [ jOOQ/jOOQ#10287 ] [ jOOQ/jOOQ#10288 ]
...
Don't turn on <pojos/> by default in Scala/Kotlin
2020-06-16 19:38:46 +02:00
Lukas Eder
374d1af273
[ jOOQ/jOOQ#3713 ] [ jOOQ/jOOQ#10287 ] [ jOOQ/jOOQ#10288 ]
...
Added configuration for Java records / Scala case classes / Kotlin data classes in code generator.
2020-06-16 17:43:00 +02:00
Lukas Eder
2592960afe
[ jOOQ/jOOQ#10280 ] The method name is Meta.snapshot()
2020-06-16 12:23:52 +02:00
Lukas Eder
8785396888
[ jOOQ/jOOQ#7673 ] Cannot call SQL Server stored procedure on HSQLDB
2020-06-11 12:27:47 +02:00
Lukas Eder
e4ba788abc
[ jOOQ/jOOQ#10264 ] Regenerated code
2020-06-10 16:27:16 +02:00
Lukas Eder
24cf349eb2
[ jOOQ/jOOQ#3379 ] [ jOOQ/jOOQ#7667 ] Fix aliasing TVF
...
Table-valued function aliasing is confusing as the order of .call() and
.as() is relevant
2020-06-10 15:50:34 +02:00
Lukas Eder
80896c75d0
[ jOOQ/jOOQ#6248 ] [ jOOQ/jOOQ#7682 ] Fix this for KotlinGenerator
2020-06-09 17:18:21 +02:00
Lukas Eder
9fe0bd8769
[ jOOQ/jOOQ#8028 ] Added issue link to code
2020-06-09 15:56:23 +02:00
Lukas Eder
ec914b6e14
[ jOOQ/jOOQ#10227 ] Avoid public visibility if possible
2020-06-04 11:45:03 +02:00
Lukas Eder
596ef0cb33
[ jOOQ/jOOQ#10235 ] Fix generation of arrays and Any type
2020-05-29 16:42:51 +02:00
Lukas Eder
8f6657813e
[ jOOQ/jOOQ#10235 ] jOOQ-kotlin-example should use new KotlinGenerator
...
This also fixes array generation in Kotlin
2020-05-29 15:56:04 +02:00
Lukas Eder
bcd7a2ab4f
[ jOOQ/jOOQ#10227 ] Global UDT, Index, Identity, references are generated
...
as static, not static final
2020-05-29 11:09:00 +02:00
Lukas Eder
2d62a406c4
[ jOOQ/jOOQ#681 ] Add support for type DOMAINs (WIP)
...
- Added org.jooq.Domain
- Add DSL API to construct domain references
- Add code generator support for domains
- Add DDL support for domains (CREATE, ALTER, DROP)
- Add parser support
- Add dialect support (H2, PostgreSQL, SQL Server)
2020-05-27 17:58:16 +02:00
Lukas Eder
0f08489f68
[ jOOQ/jOOQ#10203 ] Bad Javadoc generated for Tables.java in the default
...
schema
2020-05-19 14:01:10 +02:00
Lukas Eder
5c3906e48c
[ jOOQ/jOOQ#10203 ] Bad Javadoc generated for Tables.java in the default schema
2020-05-19 13:48:44 +02:00
Lukas Eder
e66abac092
[ jOOQ/jOOQ#10191 ] Cannot generate into(E) overload in Scala
2020-05-19 12:28:16 +02:00
Lukas Eder
1e7f4d3c73
[ jOOQ/jOOQ#5422 ] Avoid whitespace before colon : in Scala
2020-05-19 10:53:53 +02:00
Lukas Eder
8598e8116b
[ jOOQ/jOOQ#10191 ] Allow for overriding generic method in Scala
...
Scala seems to erase generic types more completely, which means the generated Record.into() method overrides the AbstractRecord.into(), unlike in Kotlin and Java.
2020-05-19 10:23:55 +02:00
Lukas Eder
698b8b8004
[ jOOQ/jOOQ#10191 ] Fix embeddable records
2020-05-18 16:24:08 +02:00
Lukas Eder
247d1ff0c2
[ jOOQ/jOOQ#10191 ] Better formatting of empty arg list
2020-05-18 15:33:02 +02:00
Lukas Eder
8dc3bb491c
[ jOOQ/jOOQ#6248 ] Better formatting of no args functions
2020-05-18 10:45:12 +02:00
Lukas Eder
565ad6a83c
[ jOOQ/jOOQ#10197 ] Implicit join constructor shouldn't be generated on table valued functions
2020-05-15 16:29:29 +02:00
Lukas Eder
1980caa901
[ jOOQ/jOOQ#6248 ] Fixed TVF in Kotlin
2020-05-15 16:21:32 +02:00
Lukas Eder
6d91c8a292
[ jOOQ/jOOQ#6248 ] Scratch that In / Out idea. It isn't sound.
2020-05-15 16:08:00 +02:00
Lukas Eder
3714fcbb4b
[ jOOQ/jOOQ#6248 ] Fixed an initialisation problem
2020-05-15 13:45:10 +02:00
Lukas Eder
7c8a8f5d36
[ jOOQ/jOOQ#3285 ] Add support for HSQLDB table-valued functions
2020-05-15 11:18:13 +02:00
Lukas Eder
123d979ecd
[ jOOQ/jOOQ#10196 ] GeneratorWriter should auto-indent generated code
2020-05-14 14:01:42 +02:00
Lukas Eder
916fac56b6
[ jOOQ/jOOQ#10195 ] GenerationTool should execute SHUTDOWN on HSQLDB connections
2020-05-14 11:03:42 +02:00
Lukas Eder
66346d35f1
[ jOOQ/jOOQ#6248 ] WIP
2020-05-13 14:35:54 +02:00
Lukas Eder
37ec8d3a34
[ jOOQ/jOOQ#6248 ] WIP
2020-05-13 10:27:35 +02:00
Lukas Eder
6b0ea7fe4e
[ jOOQ/jOOQ#10090 ] Add a <generatedAnnotationDate/> flag to allow for turning off generating @Generated.date()
2020-04-20 11:42:56 +02:00
Lukas Eder
c2df94da47
[ jOOQ/jOOQ#10013 ] Add <constructorPropertiesAnnotation/> to generate @ConstructorProperties on pojos and records
2020-03-31 11:27:08 +02:00
Lukas Eder
5380ed5ec1
[ jOOQ/jOOQ#10007 ] "constant string too long" in generated code when view
...
source code exceeds 64KB
2020-03-30 14:37:11 +02:00