Commit Graph

1348 Commits

Author SHA1 Message Date
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
Lukas Eder
f3ff999494 Whitespace change 2020-03-18 13:33:31 +01:00
Lukas Eder
d1e4adcfb4 [jOOQ/jOOQ#6456] Remove extra newline in POJOs 2020-03-13 13:10:19 +01:00
Lukas Eder
75177c06bf [jOOQ/jOOQ#9959] Code generator should produce TIMESTAMP(precision) calls instead of TIMESTAMP.precision(precision) 2020-03-13 12:18:47 +01:00
Lukas Eder
c0490c5f4b [jOOQ/jOOQ#9903] Changing getJavaClassName() for Mode.ENUM in DefaultGeneratorStrategy generates invalid code 2020-03-02 11:18:49 +01:00
Lukas Eder
e87b2eaa21 [jOOQ/jOOQ#6456] Generate comments also on POJOs 2020-02-28 16:11:29 +01:00
Knut Wannheden
c56c8c28d1 [jOOQ/jOOQ#6456] POJO setter/getter Javadoc generation 2020-02-28 15:03:54 +01:00
Lukas Eder
4a63527e41 [jOOQ/jOOQ#9849] Compilation error in generated code for check constraints containing bad escape sequences 2020-02-21 10:39:39 +01:00
Lukas Eder
b5306ca559 Cosmetic fixes 2020-02-14 10:44:55 +01:00
Lukas Eder
330dac76de Release 3.14.0-SNAPSHOT 2020-02-12 11:29:19 +01:00
Lukas Eder
32c536328c [jOOQ/jOOQ#9819] Add support for INFORMATION_SCHEMA.VIEWS in jooq-meta.xsd 2020-02-11 16:06:16 +01:00
Lukas Eder
20f3fce616 [jOOQ/jOOQ#9805] Generate view source code with generated views 2020-02-11 15:17:24 +01:00
Lukas Eder
b0aab86afa [jOOQ/jOOQ#9801] Make TableOptions available through InformationSchema 2020-02-10 12:26:31 +01:00
Lukas Eder
92de670f5d [jOOQ/jOOQ#9807] Apply Configuration.onError flag also to SQL errors from AbstractDatabase 2020-02-07 10:33:51 +01:00
Lukas Eder
800c2a44d7 [jOOQ/jOOQ#9799] Make TableOptions available through code generation 2020-02-06 15:36:00 +01:00
Lukas Eder
70fec238a0 [jOOQ/jOOQ#9796] Generated annotation should produce HTTPS link to jOOQ website 2020-02-06 11:04:31 +01:00
Lukas Eder
3af4c5f6ec [jOOQ/jOOQ#9758] Generated constraint names should not be table prefixed
in meta data (PostgreSQL fix)
2020-01-24 14:14:54 +01:00
Lukas Eder
5691ad7cb2 [jOOQ/jOOQ#9758] Generated constraint names should not be table prefixed in meta data 2020-01-24 14:02:48 +01:00
Knut Wannheden
8e613d14a9 [jOOQ/jOOQ#8953] Generate Internal#createQueue() call into Queues.java
The code generator will now generate a call to the new
`Internal#createQueue()` factory method instead of directly calling the
`QueueImpl` constructor.
2020-01-22 17:34:15 +01:00
Knut Wannheden
9e403efc7c [jOOQ/jOOQ#8953] No generic type parameter in generated createSequence()
In the generated `Sequences.java` files the generic type parameter in
the `Internal#createSequence()` calls can be omitted.
2020-01-22 17:25:29 +01:00
Lukas Eder
c2eb2e0dc7 [jOOQ/jOOQ#9734] Add <nonnullAnnotation/> and <nullableAnnotation/> 2020-01-15 16:13:42 +01:00
Lukas Eder
2323b2a3e1 [jOOQ/jOOQ#9733] Add <generatedNonnullAnnotationType/> and <generatedNullableAnnotationType/> 2020-01-15 14:26:27 +01:00
Lukas Eder
54e8a53628 [jOOQ/jOOQ#9732] Change default value of <generatedAnnotation/> to
"false"
2020-01-15 13:57:20 +01:00
Lukas Eder
45097fd05d [jOOQ/jOOQ#8677] Log warning when file based databases have invalid <jdbc/> configurations 2020-01-14 17:23:57 +01:00
Lukas Eder
cff813a73e [jOOQ/jOOQ#9727] Add configuration/basedir to resolve relative paths in
code generator
2020-01-14 15:41:37 +01:00
Lukas Eder
36981a1198 [jOOQ/jOOQ#9697] Full identifier qualification in generated code when <globalObjectReferences> is turned off 2019-12-23 10:53:55 +01:00
Knut Wannheden
91fde41fb9 [jOOQ/jOOQ#9272] Avoid fully qualified class references when possible
In the generated `CatalogImpl` subclasses the static fields representing
the schemas of the catalog typically don't need a fully qualified class
reference in the initializer expression, since the Java type is imported
already.

Additionally the Javadoc comment of the field representing the default
schema (if any) will now also include the schema's name (before it was
missing).
2019-12-20 11:19:04 +01:00
Knut Wannheden
05a37398f0 [jOOQ/jOOQ#9272] Fix Javadoc of default catalog and schema singletons
Fixes the Javadoc comment of the default catalog and schema singletons
generated into the `CatalogImpl` and `SchemaImpl` subclasses. For the
default catalog and schema the name was always empty.
2019-12-20 11:05:24 +01:00
Knut Wannheden
171637eaed [jOOQ/jOOQ#9272] Avoid fully qualified class references when possible
In the generated `SchemaImpl` subclasses the static fields representing
the tables of the schema typically don't need a fully qualified class
reference in the initializer expression, since the Java type is imported
already.
2019-12-20 10:39:12 +01:00
Lukas Eder
e0cc5a4763 [jOOQ/jOOQ#9696] Add a new <generateGlobalIndexReferences/> flag
- This also fixes [jOOQ/jOOQ#9582]
2019-12-19 17:39:37 +01:00
Lukas Eder
a9df7649b1 [jOOQ/jOOQ#9685] Generate.globalTableReferences should not impact what
is returned by Schema#getTables()
2019-12-19 10:52:33 +01:00
Knut Wannheden
fb0a53b200 [jOOQ/jOOQ#9272] Simplify generated Schema and Catalog classes
The genereated `SchemaImpl` and `CatalogImpl` subclasses will only
declare methods like `getSchemas0()` and `getTables0()` when necessary.
I.e. when the number of returned definitions exceeds 500.
2019-12-18 17:29:01 +01:00
Lukas Eder
349b73f540 [jOOQ/jOOQ#9663] Regenerated test code 2019-12-12 18:13:14 +01:00
Lukas Eder
f1bbecc136 [jOOQ/jOOQ#9663] Add code generator support for NOT ENFORCED constraint flag
This depends on [jOOQ/jOOQ#9672] Add ConstraintDefinition
2019-12-12 17:34:44 +01:00
Knut Wannheden
b21a8c5f38 [jOOQ/jOOQ#9442] Support BigInteger for sequence flags
Java (and Scala) generator now also supports sequence flags where the
value is of type `BigInteger`.
2019-12-11 11:42:19 +01:00
Knut Wannheden
aa963f3010 [jOOQ/jOOQ#9629] Add "sequenceFlags" option to code generator
The `<generate>` element now has a `<sequenceFlags>` element which can
be used to disable the sequence flags generation, which is enabled by
default.
2019-12-05 14:29:09 +01:00
Knut Wannheden
791ed71c5b [jOOQ/jOOQ#9603] Change names to conform with SQL standard
The names of the XML elements in `jooq-meta-3.13.0.xsd` corresponding to
sequence flags have been changed to conform with the SQL standard.

Additionally the type of the numeric sequence flags have been changed
from `Long` to `BigInteger` and consequently also in other APIs from
`Long` to `Number`.
2019-12-05 13:51:48 +01:00
Knut Wannheden
9940a56afa [jOOQ/jOOQ#9603] Support sequence flags in jooq-meta.xsd
Sequence flags are now also supported in the jooq-meta.xsd model and
everywhere where this is used.
2019-12-04 17:17:03 +01:00
Lukas Eder
53f7cc0c79 [jOOQ/jOOQ#9601] Add <includeSystemIndexes/> 2019-12-03 09:39:00 +01:00
Lukas Eder
c7378bbc63 [jOOQ/jOOQ#9600] WIP 2019-11-28 14:04:25 +01:00
Knut Wannheden
791c69a9c7 [jOOQ/jOOQ#9442] Add sequence flags to code generator
Adds an overload factory method `Internal#createSequence()` which
accepts the sequence flags as individual parameters. The Java and Scala
code generators now generate code using this factory method.

So far only the `H2Database` knows how to supply the sequence flags to
the code generator. Other dialects supporting sequences will follow in
follow-up commits.

Also note that support for the `ORDER` flag will be added separately
(see jOOQ/jOOQ#9346).
2019-11-27 14:14:42 +01:00
Knut Wannheden
a2674732c9 [jOOQ/jOOQ#9565] Fix code generator for H2 inline checks 2019-11-27 11:49:59 +01:00
Knut Wannheden
fcc90d0c5a [jOOQ/jOOQ#9442] Code generator uses factory method for sequences
Instead of generating code which directly uses the `SequenceImpl`
constructor, the generator now emits code using a static factory method
in the `Internal` factory class.

Also removes duplicate H2 dependency from `jOOQ/pom.xml`.
2019-11-27 10:04:08 +01:00
Lukas Eder
57121c96e2 [jOOQ/jOOQ#7639] Add code generation support for CHECK constraints 2019-11-19 12:26:15 +01:00
Lukas Eder
ba7a030c82 [jOOQ/jOOQ#9565] Generate check clause in XMLGenerator 2019-11-19 10:18:18 +01:00
Lukas Eder
cd71da22f9 [jOOQ/jOOQ#8967] Generator outputs duplicate method (not compilable) 2019-11-15 13:50:41 +01:00
Lukas Eder
1f9fb4dfdb [jOOQ/jOOQ#8545] WIP 2019-11-08 16:43:58 +01:00
Lukas Eder
941bf0ed4a [jOOQ/jOOQ#9520] Log info message when a forcedType never matches 2019-11-08 13:55:55 +01:00
Lukas Eder
6b174bfbe0 [jOOQ/jOOQ#6497] Fixed NPE regression when <generate/> element is absent 2019-10-01 09:15:54 +02:00
Lukas Eder
3633b53f1e [jOOQ/jOOQ#6497] Add LocalDateAsLocalDateTimeBinding to make <javaTimeTypes/> and <dateAsTimestamp/> work together 2019-09-30 09:41:01 +02:00
Lukas Eder
77802eeb7b [jOOQ/jOOQ#5714] Change <javaTimeTypes/> default value to true 2019-09-27 14:55:37 +02:00
Lukas Eder
f1568d475a [jOOQ/jOOQ#9276] Consistently use same line terminators in generator
Also for the import list the Java / Scala generators now use the
configured line terminator rather than a hardcoded  terminator.
2019-09-26 10:42:28 +02:00
Lukas Eder
d18b17d44d [jOOQ/jOOQ#9150] Compilation error in generated code when Oracle OBJECT type contains index_of(varchar2) member procedure 2019-09-03 17:43:35 +02:00
Knut Wannheden
d27dbf4117 Preparing master for 3.13 release cycle 2019-08-29 16:12:59 +02:00
Lukas Eder
0f5b8799b9 [jOOQ/jOOQ#9048] Delete module-info.java.invalid files 2019-08-16 14:02:45 +02:00
Lukas Eder
854375dbcf [jOOQ/jOOQ#7789] Revert change
The jOOQ 3.12 Open Source Edition will continue to support Java 8. The only things we gain from the JDK 11 dependency is:

- Updated logic for reflection when mapping into proxied default methods (that stuff has changed completely in JDK 9). This is a regression, which we can live with. The workaround is to write a custom
- Explicit dependency on the JDK 9  API, for which we provide a Java 8 compatible alternative via reactive streams anyway.
- JDBC 4.3 compatibility (mostly sharding). We currently don't use that yet.

We're not even using  internally, outside of a few integration tests. So, we'll postpone the JDK 11 *requirement* (while supporting it nonetheless) to a later release, e.g. 3.13. We'll observe market share shifts. Currently Java 11's market share is a bit of a disappointment, so making it a requirement might be premature.
2019-07-26 15:18:18 +02:00
Kaan Ozdokmeci
e8e230ae2c make generatePojoMultiConstructor protected inline with it's javadoc 2019-07-23 19:47:08 +03:00
Lukas Eder
cacc3e5a7c [jOOQ/jOOQ#8932] Use diamond operator in jOOQ code 2019-07-11 11:55:51 +02:00
Lukas Eder
f43815aa73 [jOOQ/jOOQ#8925] Add DAO.fetchRangeOf(Field<Z>, Z, Z) 2019-07-10 15:05:52 +02:00
Knut Wannheden
8b04f08e15 [jOOQ/jOOQ#8919] Implement formatting in MiniJAXB
The formatting logic is encapsulated by the new internal `XMLBuilder`
class which also required a new internal interface `XMLAppendable` which
is implemented by all XJC generated classes.

The XJC plugin was modified accordingly and all code was regenerated.

Also note that the `MiniJAXB` class was moved to package
`org.jooq.util.jaxb.tools`.
2019-07-10 11:26:58 +02:00
Knut Wannheden
9020e4eb42 [jOOQ/jOOQ#8914] Consistently use MiniJAXB 2019-07-09 14:34:17 +02:00
lukaseder
1b0113cc25 [jOOQ/jOOQ#8905] Use GeneratorWriter.encoding() instead of "UTF-8" 2019-07-05 13:46:15 +02:00
Lukas Eder
bcdadee556 [jOOQ/jOOQ#8905] GeneratorWriter should check the file size prior to
opening existing files to compare contents
2019-07-04 17:15:09 +02:00
Lukas Eder
514f2eda6d [jOOQ/jOOQ#5412] Reverted the feature 2019-07-03 15:27:09 +02:00
Lukas Eder
06b3e0aecd [#8863] Fix for ScalaGenerator 2019-07-02 09:43:07 +02:00
Lukas Eder
74f3263653 [jOOQ/jOOQ#8863] Use imported class name in Tables.java to dereference singleton table instance 2019-06-28 15:21:08 +02:00
Knut Wannheden
3dbcccb65a [jOOQ/jOOQ#8808] Only qualify sequence class references when required
The `Sequences` class will now only have fully qualified references to
the sequence classes when there is a name conflict between the schema
and any of its sequences.
2019-06-26 15:57:20 +02:00
Knut Wannheden
1733cd5eaa [jOOQ/jOOQ#8808] Generate qualified references into Sequences class
The references to the static sequence fields in the generated
`Sequences` class should be fully qualified in order to avoid potential
conflicts between schema and sequence names.
2019-06-26 15:26:46 +02:00
Knut Wannheden
517ad869b6 [jOOQ/jOOQ#8859] Check for sequences in generateSchemaIfEmpty()
The `JavaGenerator` should also generate Java code for schemas which
only contain sequences. This was missing in `generateSchemaIfEmpty()`.
2019-06-26 15:06:45 +02:00
Knut Wannheden
c5c8d1d256 Fixed more Javadoc warnings in jOOQ-codegen and jOOQ-meta 2019-06-26 10:26:28 +02:00
Knut Wannheden
32a4bbfff4 Fix all Javadoc warnings in jOOQ
Mostly replaced `>` with `&gt;` in code examples.
2019-06-26 09:34:52 +02:00
Lukas Eder
5aee8a9b5d [jOOQ/jOOQ#5412] Generate a Record from POJO unmapper on generated
records
2019-06-18 17:04:54 +02:00
Lukas Eder
45c298a4bc [jOOQ/jOOQ#5412] Generate a Record to POJO mapper on generated records 2019-06-18 16:48:44 +02:00
Lukas Eder
7f75f47c29 [jOOQ/jOOQ#8781] Improve error msg when org.jooq.util class not found
Users keep running into issues when they don't see why their
org.jooq.util classes from the code generator cannot be found. This
change helps them better find the new package qualification of types in
the jOOQ-meta and jOOQ-codegen modules.
2019-06-13 12:20:16 +02:00
Lukas Eder
09d3a4d26e [#8685] Avoid generating unnecessary {@inheritDoc} 2019-05-27 10:48:21 +02:00
Knut Wannheden
35fc136643 [#2059] Add MemSQL support
Implement support for new dialect SQLDialect#MEMSQL. Excluded from the
support are stored procedures, MemSQL specific DDL keywords, MemSQL
specific DML (like REPLACE), and for the time being also the PIVOT
clause (see #8643).

Approved-by: Lukas Eder
2019-05-21 14:38:06 +02:00
Lukas Eder
fce9626b13 [jOOQ/jOOQ#8615] Missing NOTICE file from commons-lang 2019-05-21 12:23:17 +02:00
lukaseder
1116644cde [#8550] Improve formatting of generated table-level JPA annotations 2019-04-18 11:23:35 +02:00
lukaseder
65d779065f [#8536] Missing constraint name in generated @UniqueConstraint annotation 2019-04-18 10:56:38 +02:00
lukaseder
97cab67e4a [#8535] Generate @UniqueConstraint annotation instead of @Column(unique = true)
The current distinction is confusing, and if redundant uniqueness information is present, then Hibernate ignores the @UniqueConstraint name. Hence, we will only generate the @UniqueConstraint annotation
2019-04-17 11:26:59 +02:00
lukaseder
1673a1b971 [#6234] The encoded newline characters must be decoded 2019-04-13 18:37:54 +02:00
Knut Wannheden
df2ec439bc [#6971] Add <onError/> to generator's <configuration/>
Using the new <onError/> (which accepts the values FAIL (default), LOG,
and SILENT) the generator's behavior on an encountered exceptions can be
controlled.
2019-04-10 12:20:17 +02:00
lukaseder
2785bc84ae [#8491] Remove unnecessary marker tokens in source code 2019-04-05 11:52:34 +02:00
lukaseder
a088bec1af [#8463] Add <includeCheckConstraints/> flag to code generator 2019-03-29 15:08:59 +01:00
lukaseder
8f7e2f0dbf [#8465] Add a new <logSlowResultsAfterSeconds/> code generation flag 2019-03-29 15:00:41 +01:00
lukaseder
2ea2d93736 [#8447] Add <sqlMatchesPartialQualification> 2019-03-26 10:54:54 +01:00
lukaseder
94a59f50a8 [#8407] Add code generation configuration flag to set Connection.setAutoCommit() 2019-03-14 14:38:28 +01:00
lukaseder
d79d634963 [#7719] Add code generation flag to treat MySQL TINYINT(1) as BOOLEAN 2019-03-07 12:53:51 +01:00
lukaseder
70fe064517 [#7809] Generate overridden Table.fieldsRow() method in generated tables 2019-03-05 14:17:42 +01:00
lukaseder
0999465dff [#8363] Slow check for similar generated files that differ by case 2019-02-28 14:32:49 +01:00
lukaseder
e57e49a746 [#8363] Slow check for similar generated files that differ by case 2019-02-28 14:22:14 +01:00
lukaseder
f81ddaca57 [#8361] [#8362]
- [#8361] Cache Patterns in MatcherStrategy
- [#8362] <regexFlags/> is not applied to matcher strategy
2019-02-28 13:14:46 +01:00
lukaseder
dd340e74be [#8360] Add new MatcherTransformType.LOWER_FIRST_LETTER and UPPER_FIRST_LETTER 2019-02-28 12:37:07 +01:00
lukaseder
04d03bfda0 [#2530] First working draft 2019-02-22 15:35:35 +01:00
lukaseder
83bfd238b6 [#6234] [#8138] Code generation whitespace configuration
- [#6234] Add newline configuration to code generator
- [#8138] Add indentation configuration to code generator
2018-12-21 11:21:25 +01:00
lukaseder
add8767a68 [#5215] Companion object for routine classes generated by ScalaGenerator cause java.lang.IllegalAccessError at runtime 2018-12-05 11:50:09 +01:00
lukaseder
12a5a26fd2 [#7680] Allow for overriding the order of generated import statements 2018-11-28 12:25:41 +01:00
lukaseder
e392b4eb65 [#8067] Code generator doesn't generate length on VARCHAR(n) ARRAY types 2018-11-27 13:21:49 +01:00
lukaseder
9a7eef2aff [#7496] [#7685] UDT data types are unqualified in PostgreSQL, when there is more than one UDT data type per schema 2018-11-22 14:43:39 +01:00
lukaseder
8197c65fbb [#7579] [#8044] Code generation fails on JDK9+ with javax.xml.bind.UnmarshalException: unexpected element when using external <configurationFile/> 2018-11-20 10:25:01 +01:00
lukaseder
a430a9b736 [#8000] Deprecate AbstractTable.createField(String, ...) methods 2018-11-01 17:02:39 +01:00
lukaseder
0d2351382e [#7947] Let code generation patterns match also partially qualified object names 2018-10-17 11:31:49 +02:00
lukaseder
a2bcf50b6e [#7874] Pull up DAOImpl.getId() to DAO.getId() 2018-10-02 13:47:49 +02:00
lukaseder
04ad13f68d [#7904] Apply optimistic locking logic also for non-updatable TableRecords on insert() 2018-10-02 13:43:34 +02:00
Nicolai Ehemann
2e8749009f [#7893] Generate valid javadoc for deprecated data types 2018-09-25 09:20:01 +02:00
Lukas Eder
93ece30335 [#5538] Compilation error in Keys.java when two tables contain the same (unique) index name in SQL Server 2018-08-28 14:32:16 +02:00
Lukas Eder
7a188c868c [#5969] Add <includeInvisibleColumns/> to code generator configuration to allow for hiding Oracle's and H2's INVISIBLE columns 2018-08-23 14:07:07 +02:00
Lukas Eder
7373ad1092 [#7747] Rename jooq-codegen.xsd Schema, Schemata, Catalog, Catalogs types to have a Type suffix 2018-08-10 12:23:04 +02:00
lukaseder
e6c5401cc0 [#7735] XJC generated classes should generate XmlElementWrapper element for Lists 2018-08-08 16:02:49 +02:00
lukaseder
550b6009e6 [#6612] Revert modularisation of jOOQ 2018-08-08 11:34:23 +02:00
lukaseder
aa5e1140b8 [#7693] Compilation error in generated code when generated Javadoc contains unicode escape sequences 2018-07-30 10:42:26 +02:00
lukaseder
daf7067885 [#7692] Compilation errors in generated code for PostgreSQL's pg_catalog schem 2018-07-30 09:47:50 +02:00
lukaseder
c7060ef4cc [#7649]
jOOQ 3.11+ transitive dependency prevents it from being loaded on WebLogic 12.1.3
2018-07-10 10:09:23 +02:00
lukaseder
84c1376e5a [#7595] Add support for Java 11 2018-07-06 17:02:09 +02:00
lukaseder
965a925876 Removed unnecessary groupId re-definitions 2018-06-14 16:28:04 +02:00
lukaseder
333466038c [#7583] Add new <generatedAnnotationType/> flag to specify Generated annotation 2018-06-14 16:01:45 +02:00
lukaseder
09517ce2ec [#7573] Code generator should generate implicit join constructors in absence of inbound foreign keys 2018-06-12 14:41:48 +02:00
lukaseder
98b8130f84 [#6612] Modularise jOOQ and cross-release JDK 8 and 9 builds 2018-06-12 14:26:32 +02:00
lukaseder
7021dfe369 [#7556] Add a specific error message if org.jooq.util packages are being used in 3.11+ 2018-06-08 14:08:53 +02:00
lukaseder
7ea8cce3d4 [#7554] UpdatableRecordImpl no longer work when globalObjectReferences is set to false 2018-06-08 12:35:24 +02:00
lukaseder
22b200a389 Release 3.12.0-SNAPSHOT 2018-06-08 10:03:57 +02:00
lukaseder
23df47ba4f Release 3.11.0 2018-06-07 16:45:37 +02:00
lukaseder
ba9ba94ea9 [#7547] Code generator should not generate "USER-DEFINED" for unknown data types 2018-06-06 14:12:39 +02:00
lukaseder
7383fdc574 [#7547] Code generator should not generate "USER-DEFINED" for unknown data types 2018-06-06 10:45:49 +02:00
lukaseder
0512228565 [#7358] Add support for SQL Data Warehouse 2018-05-25 18:30:57 +02:00
lukaseder
9cf6e785a9 [#6794] [#7501] Binding ARRAY of jsonb in Postgres function results in SQLDialectNotSupportedException 2018-05-24 16:23:32 +02:00
lukaseder
4a18ba32f1 [#1502] Make constructor public (for cross schema navigation) 2018-05-24 13:16:23 +02:00
lukaseder
975dac427f [#7500] Nullability is not correctly generated for Postgres JSONB columns 2018-05-24 12:30:22 +02:00
lukaseder
6ec1958876 [#7497] Adaptations after the merge 2018-05-23 12:57:30 +02:00
Tim Wilson
5a5bddc640 Presize ArrayLists whose max size is known 2018-05-16 21:57:07 -07:00
lukaseder
2a3a57faf8 [#6794] Custom type converters ignored for table-valued (set-returning) function parameters 2018-05-16 17:52:49 +02:00
lukaseder
c16aafcac5 [#1502] Fully qualify table name when table name and schema names match 2018-05-15 11:54:50 +02:00
lukaseder
b3ff200fce [#7474] Make number of seconds that are considered "slow" in jOOQ-meta configurable 2018-05-11 10:48:21 +02:00
lukaseder
58a538fb95 [#7441] JavaGenerator should allow for overriding POJO constructor generation 2018-04-26 16:04:25 +02:00
lukaseder
863ade3b3c [#5196] Add support for Amazon Aurora MySQL Edition 2018-04-26 13:22:09 +02:00
lukaseder
27b8103f6d [#7419] Rename jooq-meta and jooq-codegen packages to avoid conflicts in JPMS 2018-04-16 11:56:00 +02:00
lukaseder
c77fdd3c85 [#7419] Rename jooq-meta and jooq-codegen packages to avoid conflicts in JPMS 2018-04-16 11:35:01 +02:00
lukaseder
d0737ce8e4 [#7415] Add ability for MatcherStrategy to allow for customizing enum class names 2018-04-16 10:23:04 +02:00
lukaseder
44a6049562 [#7416] Misleading warning message when using external configurationFile with <matchers/> 2018-04-16 09:55:59 +02:00
lukaseder
86007b3540 [#7229] Add <forceIntegerTypesOnZeroScaleDecimals/> configuration to allow for treating DECIMAL types as BigDecimal 2018-03-23 15:25:08 +01:00
lukaseder
a840f75ce6 [#7340] <validationAnnotations/> should generate Size annotations also for (VAR)BINARY types 2018-03-22 16:47:54 +01:00
lukaseder
0f98ba3e2e [#7343] Add <includePackageConstants>, <includePackageRoutines>, <includePackageUDTs> code generation configuration flags 2018-03-22 16:35:42 +01:00
lukaseder
d0acc17226 [#6879] Add javax.xml.bind:jaxb-api dependency and avoid using the implementation 2018-02-20 15:17:26 +01:00
lukaseder
a1f9d3afbf [#4888] [#7210] Serializable on generated POJOs and interfaces
- [#4888] Add <serializablePojos/> to allow for POJOs not to be Serializable
- [#7210] Add <serializableInterfaces/> to allow for interfaces not to be Serializable
2018-02-20 13:28:02 +01:00
lukaseder
4bfd5aa284 [#6241] DataType.nullable() and defaultValue() are not generated for enum types 2018-02-19 11:44:30 +01:00
lukaseder
c5b515be79 [#7148] [#7158] Add public internal API for use by code generator (to work around Scala issues) 2018-02-12 13:36:10 +01:00
lukaseder
e3dfbc0a9f [#7148] Fixed Scala implementation 2018-02-12 12:26:15 +01:00
lukaseder
49fe6ebebf [#7148] Improved implicit join code generation
If table A references table B only once, then B is a much better method name than the foreign key name itself.
2018-02-09 13:26:40 +01:00
lukaseder
92cfbbb90c [#1502] Use GeneratorStrategy.getJavaMethodName() 2018-02-07 21:40:23 +01:00
lukaseder
c67ed24a88 [#7148] Prevent generation of constructor if there are no inbound foreign keys 2018-02-07 15:14:25 +01:00
lukaseder
1f426ea3b1 [#7148] Add code generation support for to-one implicit join relationships 2018-02-07 15:02:16 +01:00
lukaseder
9bcc5ca132 [#5620] Add support for PL/SQL TABLE types in Oracle 12cR2 2018-02-02 12:58:49 +01:00
lukaseder
9def7171d3 [#7139] Add support for CREATE TABLE AS SELECT .. WITH [ NO ] DATA 2018-02-02 10:42:16 +01:00
lukaseder
9d8667f015 [#7125] Add code generation support for PL/SQL TABLE and associative TABLE types (WIP) 2018-01-30 18:08:54 +01:00
lukaseder
98e2b3a527 [#7068] Compilation error in generated DAOs when primary key is a composite type 2018-01-29 12:13:34 +01:00
lukaseder
464b8c9548 [#6140] Add <clean/> to <target/> in code generator configuration 2018-01-18 16:32:26 +01:00
lukaseder
2d6839a337 [#7079] Excess semi colon generated in Scala code 2018-01-18 10:32:03 +01:00
lukaseder
5c7268b982 [#7078] Excess whitespace in generated Scala case classes 2018-01-18 10:25:37 +01:00
lukaseder
790739147b [#7051] [#7052] Generated scala code contains deprecation warning for TableImpl 2018-01-15 10:37:54 +01:00
Lukas Eder
9053f74de3
Merge pull request #7052 from er1c/scala-deprecation
[7051] Fix generated scala deprecation warning
2018-01-15 10:32:52 +01:00
lukaseder
911b658378 [#7049] Generated Tables.scala has unused imports 2018-01-15 10:18:22 +01:00
lukaseder
85e5a34f44 [#7055] Fixed regression 2018-01-15 09:52:49 +01:00
lukaseder
7890c23b32 [#7055] POJO copy constructor should use interface when codegen of <interfaces/> = true 2018-01-15 09:25:44 +01:00
Eric Peters
8bdf12842d [7051] Fix generated scala deprecation warning 2018-01-13 08:54:14 -08:00
lukaseder
eec46ca083 [#7016] Add option to disable the generation of all Javadoc 2018-01-09 15:55:41 +01:00
lukaseder
06f14b1f91 [#5703] Add option to disable code generation of comments 2018-01-09 15:38:47 +01:00
lukaseder
82f3d87e01 [#6997] [#7011] Support system properties in Maven code generation 2018-01-09 11:00:38 +01:00
lukaseder
eb827e8b9a [#6997] [#7011] Support system properties in Maven code generation 2018-01-09 10:38:17 +01:00
lukaseder
132a1ef71e [#6991] Updated depending features:
- XMLGenerator
- XMLDatabase
- DSLContext.meta(InformationSchema)
- DSLContext.informationSchema(...)
2018-01-04 17:07:16 +01:00
lukaseder
b12cbca32c [#6982] Make jooq-meta's org.jooq.util.Database AutoCloseable 2018-01-04 12:21:03 +01:00
lukaseder
c19a66c871 [#6951] Add <includeTriggerRoutines/> flag to exclude the generation of PostgreSQL trigger routines 2018-01-02 15:30:54 +01:00
lukaseder
b099dc4f39 [#6966] In JavaGenerator printed overview, add missing flags 2017-12-29 13:19:56 +01:00
lukaseder
445e9d735f [#6772] [#6955] Add a <jpaVersion/> code generator configuration 2017-12-29 13:04:23 +01:00
lukaseder
bbd5e69396 [#6772] [#6955] Add a <jpaVersion/> code generator configuration 2017-12-29 12:57:53 +01:00
Lukas Eder
cc04a7fd81
Merge pull request #6955 from timur-sh/6772
[#6772] Added a new flag `jpaVersion` to code generator.
2017-12-29 12:11:07 +01:00
lukaseder
7af70710eb [#6958] Generate hint about <deprecationOnUnknownType/> in Javadoc 2017-12-29 11:59:45 +01:00
lukaseder
bbfd34d61a [#6962] Add code generator flags for <globalKeyReferences/> 2017-12-29 11:35:56 +01:00
Timur Shaidullin
a44008112e [#6772] Added a new flag jpaVersion to code generator. 2017-12-27 17:24:43 +03:00
lukaseder
25f1f31923 [#6930] Compilation error in generated code when <enumConverter/> is applied to an enum column 2017-12-21 16:03:44 +01:00
lukaseder
34b86da52c [#6124] This feature can be opted into using a new flag <primaryKeyTypes/> 2017-12-21 13:03:44 +01:00
lukaseder
a32a5b7f0b [#6918] Generated file headers comment is ill formatted 2017-12-14 11:49:09 +01:00
lukaseder
70ebfa1f6a [#5574] In MySQL, an incorrect column default is generated when the default is CURRENT_TIMESTAMP 2017-12-07 16:35:37 +01:00
lukaseder
b2f9a4e5ad [#6873] Line numbers not aligned correctly between OSS and Pro edition 2017-11-29 10:02:42 +01:00
lukaseder
d92c0b61ba [#6860] Code generator doesn't work in Java 6 build, which calls java.lang.reflect.Method.getParameterCount() 2017-11-28 14:51:34 +01:00
lukaseder
8efb2090be [#6845] <deprecationOnUnknownTypes/> has no effect 2017-11-22 19:02:31 +01:00
lukaseder
5730c6e67f [#6720] Refactor some internals to use Scope.dsl() or Configuration.dsl() 2017-10-19 11:31:55 +02:00
lukaseder
bb0a9592c9 [#6712] Redundant Javadoc generated when deprecation for unknown types is generated 2017-10-17 13:10:03 +02:00
lukaseder
3de1e63f5f [#6705] Added reference to github issue 2017-10-17 12:57:05 +02:00
Stephan Schroevers
2235098e52 [#6705] Avoid generating code with a redundant cast 2017-10-16 11:16:51 +02:00
lukaseder
e838574946 [#5925] Replace asList(SQLDialect ...).contains() by EnumSet.of(SQLDialect ...).contains() in internals 2017-10-10 12:16:39 +02:00
lukaseder
d488114b7e [#6661] Add support for catalogs in the XMLGenerator 2017-10-09 15:23:34 +02:00
lukaseder
059efb93e4 Release 3.11.0-SNAPSHOT 2017-09-29 15:49:30 +02:00
lukaseder
c3fdb76403 Release 3.10.0 2017-09-29 14:44:26 +02:00
lukaseder
e14839a6ef [#6611] [#6617] Automatic-Module-Name
- [#6611] Add Automatic-Module-Name to MANIFEST.MF
- [#6617] Specify <pluginManagement> in parent pom.xml
2017-09-28 18:11:23 +02:00
lukaseder
80f59e17ad [#6072] Add code generation flag to configure whether generated Records should implement Record[N] 2017-09-08 17:10:19 +02:00
lukaseder
7caedb1652 [#6536] Generated deprecation doesn't work on function / procedure convenience methods 2017-08-31 23:27:48 +02:00
lukaseder
2abecfc90d [#6532] Add UDT.isSynthetic() and UDTDefinition.isSynthetic() 2017-08-28 11:39:09 +02:00
lukaseder
6a7322cfbc [#6529] Move generated PL/SQL RECORD types in a udt subpackage 2017-08-28 10:29:40 +02:00
lukaseder
0b34513301 [#5649] [#6423] Compilation error in generated code when both SchemaVersionProvider and CatalogVersionProvider are applied 2017-07-20 14:16:50 +02:00
lukaseder
fc2b863285 [#6212] Generate deprecation for all objects referencing DataType<Object> (unknown type) 2017-07-14 15:09:26 +02:00
lukaseder
97b3c857d3 [#6411] Code generator should generate VARCHAR(length) and NUMBER(precision, scale) method 2017-07-12 17:25:23 +02:00
lukaseder
df3c2f4f8c [#6410] Don't generate empty Keys.java or Indexes.java files 2017-07-12 17:03:48 +02:00
lukaseder
763546ae36 [#6401] Don't generate javax.validation.NotNull for identity columns 2017-07-11 11:20:54 +02:00
lukaseder
33d29e07e2 [#6245] Generate component[N]() methods in generated records 2017-06-30 15:49:53 +02:00
lukaseder
02ce0b073a [#6323] Generate javax.persistence.Index annotation 2017-06-30 14:25:57 +02:00
lukaseder
26e43cbe9a [#6327] Add OrderField as a common super type of Field and SortField and accept that in ORDER BY clauses 2017-06-06 14:31:31 +02:00
lukaseder
b8247bb3a3 [#6307] Fixed ScalaGenerator regression 2017-06-06 13:13:15 +02:00
lukaseder
8fa78d72c0 [#6307] Added support for MySQL - fixed some bugs 2017-06-06 11:59:32 +02:00
lukaseder
712ab83f4a [#6321] Export indexes using XMLGenerator 2017-06-05 16:41:34 +02:00
lukaseder
43ff705bbd [#6307] SQL Server support 2017-06-05 13:58:24 +02:00
lukaseder
28e751e5ad [#6307] Generated indexes in new Indexes.java file 2017-06-05 12:11:06 +02:00
lukaseder
389b1b17eb [#6313] Add List<Index> Table.getIndexes() 2017-06-05 10:41:32 +02:00
lukaseder
d9a917f4de [#6307] Add code generation support for indexes (including Oracle impl) 2017-06-05 10:03:01 +02:00
lukaseder
100b2dee35 [#4846] Add SPI to allow for injecting meta data ordering 2017-05-30 12:16:57 +02:00
lukaseder
c63c696317 [#6251] XMLGenerator: UniqueConstraintCatalog set to referenced key instead of catalog 2017-05-23 13:38:22 +02:00
lukaseder
eb33ce9cf7 [#6222] Generate IDENTITY information on data type 2017-05-16 10:55:19 +02:00
lukaseder
58f568cfb3 [#6191] Compilation error in generated code when column is called RESULT or PRIME 2017-05-08 13:03:27 +02:00
lukaseder
a3c6e4fa4c Better logging 2017-05-03 11:20:37 +02:00
lukaseder
2b36c2c0bf [#6167] GenerationTool should debug-log input Configuration as XML 2017-04-26 16:41:41 +02:00
lukaseder
40f92011a4 [#6163] XMLGenerator doesn't export <is_nullable/> for columns 2017-04-26 15:04:39 +02:00
lukaseder
95edee1228 [#6154] Remove test dependencies from OSS distribution 2017-04-25 11:54:43 +02:00
lukaseder
41f2b20ec2 [#6141] Add identity column support to XMLGenerator 2017-04-24 14:25:38 +02:00
lukaseder
4c7dd2f806 [#5354] Add <javaBeansGettersAndSetters/> to the code generator to support JavaBeans 2017-04-21 18:24:36 +02:00
lukaseder
7fe7d55889 [#5892] File does not get renamed on Windows when TABLE_A is renamed to TABLEA 2017-04-20 18:11:43 +02:00
lukaseder
5843974edb [#5862] Fixed warnings 2017-04-20 17:56:08 +02:00
lukaseder
37654f4335 [#6000] Add TableImpl.rename(Name) 2017-04-19 14:12:42 +02:00
lukaseder
8bd9d84106 [#5996] Fix table-valued functions regression 2017-04-11 13:52:38 +02:00
lukaseder
c83a779484 [#5996] Fix Scala code generator regression 2017-03-22 16:40:36 +01:00
lukaseder
04af931dd8 [#5996] Add Field.as(Name) and Table.as(Name), Table.as(Name, Name...) 2017-03-22 16:08:21 +01:00
lukaseder
05fc6f414f [#5968] Add JavaGenerator.printPackageComment() to allow for overriding 2017-03-17 16:05:04 +01:00
lukaseder
81ce77d34b [#5943] Boolean data type rewrites on Oracle procedures conflict with PL/SQL BOOLEAN data type logic 2017-03-07 13:50:31 +01:00
lukaseder
46321ddc18 [#5877] [#5884] Fix regression in application of Routine param converters 2017-03-07 11:18:44 +01:00
lukaseder
612a5827fc [#5936] Ignore strategy/name when strategy/matchers is present, in code generator 2017-03-02 21:37:39 +01:00
lukaseder
c52864cbf5 [#5877] [#5884] Improved code generator configuration
- [#5877] Add <enumConverter/> flag in <forcedType/> to auto-generate EnumConverter
- [#5884] Allow for specifying Java expressions as Converter / Binding configurations
2017-02-17 14:32:57 +01:00
lukaseder
fcdb5f23a2 [#5881] NullPointerException when running Maven code generator plugin without <target/> specification 2017-02-17 09:45:38 +01:00
lukaseder
57e338fa8b [#5879] Schema version check does not work with Scala 2017-02-16 12:18:42 +01:00
lukaseder
317fa4a84e [#5862] Rename Generator.fluentSetters() to Generator.generateFluentSetters() for API naming consistency 2017-02-10 11:38:39 +01:00
lukaseder
e4c59ac297 [#5733] Add a configuration option for varargs setters 2017-02-10 11:33:11 +01:00
lukaseder
d534744539 [#5833] Add support for routines in XMLGenerator 2017-02-05 14:14:57 +01:00
lukaseder
5e4565f001 [#5783] KeepNamesGeneratorStrategy generates wrong Keys.java 2017-01-16 17:14:02 +01:00
lukaseder
db502db165 [#5765] Compilation error in generated schema when table-valued function literal clashes with class name 2017-01-03 17:14:21 +01:00
lukaseder
67a02197e2 [#5763] Generated TableValuedFunction.call() methods should wrap arguments with DSL.val(T, DataType) 2017-01-03 16:57:23 +01:00
lukaseder
1ed96d2f18 [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:14:26 +01:00
lukaseder
b641dde50f [#5754] Remove copyright (and dates) from file headers 2017-01-02 17:05:35 +01:00
lukaseder
d0f24ada15 [#5744] Log WARN if users combine nested catalog configurations with top-level inputSchema configuration 2016-12-30 11:41:59 +01:00
lukaseder
d1e1f3e648 Release 3.10.0-SNAPSHOT 2016-12-23 16:36:19 +01:00
lukaseder
b431727ee1 Release 3.9.0 2016-12-23 14:18:36 +01:00
lukaseder
e0c0ed0229 Release 3.9.0 2016-12-23 11:53:13 +01:00
lukaseder
bd0c184e0f [#4429] Add <javaTimeTypes/> to code generator configuration to generate Java 8 java.time types instead of java.sql types 2016-12-20 17:03:32 +01:00
lukaseder
e870b353d2 [#5697] NPE regression 2016-12-14 13:27:48 +01:00
lukaseder
b3a086a7a8 [#5704] Escape HTML characters in generated JavaDoc 2016-12-14 12:08:12 +01:00
lukaseder
7161dc4877 [#5704] Escape HTML characters in generated JavaDoc 2016-12-14 12:05:42 +01:00
lukaseder
7e186047b6 [#3315] Add code generation hooks to override Record, Pojo, and Interface getters and setters 2016-11-18 17:03:18 +01:00
lukaseder
0314060fac [#3906] Allow for customising generated file headers 2016-11-18 16:17:25 +01:00
lukaseder
cdb0423942 [#5649] Trailing comma from ScalaGenerator when using schemaVersionProvider 2016-11-07 13:28:18 +01:00
lukaseder
4659e83f09 [#330] Fixed PostgreSQL regressions 2016-11-01 16:18:58 +01:00
lukaseder
05b34d8246 [#330] Add code generation support for PL/SQL RECORD types 2016-10-31 18:25:16 +01:00
lukaseder
e9cd04e2e7 [#5627] Added runtime information about a UDT being "SQL usable" 2016-10-31 15:35:59 +01:00
lukaseder
40ed77af97 [#330] Add support for PL/SQL RECORD types - Code generator support 2016-10-31 14:02:40 +01:00
lukaseder
ca0331280a [#5614] SchemaVersionProvider might cause deletion of schemas that were not updated 2016-10-21 12:06:39 +02:00
lukaseder
a79e8008f0 [#5609] Better fix 2016-10-21 11:28:15 +02:00
lukaseder
8c6a22505a [#4168] <outputSchemaToDefault/> generates "_" package name when generating multiple schemata 2016-10-20 14:32:55 +02:00
lukaseder
994c94a43c [#5596] Error on code generation when schema name is a Windows reserved name like CON, AUX 2016-10-19 10:12:01 +02:00
lukaseder
a9f883a749 [#5597] Code generator IOExceptions are not logged when error appears during closing of file 2016-10-19 09:48:18 +02:00
Stephan Schroevers
c514933429 Tweak generated Java file header 2016-10-07 16:04:07 +02:00
Lukas Eder
f65cd2d2cf Merge pull request #5583 from PicnicSupermarket/no-javadoc-above-package-declaration
For generated code, change file header style from JavaDoc to regular comment
2016-10-07 15:53:43 +02:00
lukaseder
742b2b129d [#5584] Fix all file headers to be regular comments, not Javadoc 2016-10-07 15:51:44 +02:00
Stephan Schroevers
190ed84dd8 Change file header style from JavaDoc to regular comment 2016-10-07 14:58:52 +02:00
lukaseder
092df7695d [#5556] Cleaner... 2016-09-22 12:42:03 +02:00
lukaseder
cd1b76ad51 [#5556] Code generator should delete catalog and schema directories when no longer configured 2016-09-22 12:13:42 +02:00
lukaseder
1efb944322 [#4794] default catalog (if no catalogs configured) must contain schemas 2016-09-22 11:57:16 +02:00
lukaseder
631b91a16f [#5557] Compilation error when generated catalog and one of its contained schemas have the same name 2016-09-21 12:46:50 +02:00
lukaseder
7cc49dfece [#4794] Add support for Catalog in code generation schema mapping 2016-09-21 12:22:08 +02:00
lukaseder
5976d70096 [#5524] Don't System.exit(-1) from within GenerationTool. Throw an exception instead 2016-09-06 15:19:01 +02:00
lukaseder
cae2a72614 [#5526] Add code generator flag to turn off generation of UDTs 2016-09-06 11:37:43 +02:00
lukaseder
ac5ec261be [#5528] Add code generator flag to turn off generation of sequences 2016-09-06 11:12:44 +02:00
lukaseder
89d9ea5541 [#5525] Add code generator flag to turn off generation of tables 2016-09-04 22:12:56 +02:00
lukaseder
9f6ece2921 [#5527] Add code generator flag to turn off the generation of routines 2016-09-04 21:55:51 +02:00
lukaseder
7f81e02b01 [#5517] Make JavaWriter.ref() methods public 2016-09-01 09:24:08 +02:00
lukaseder
4aa6d60fa3 Fix remaining references to BSD style header 2016-08-11 08:21:35 +02:00
lukaseder
d624923cd3 [#5472] Still wrong 2016-07-29 14:26:40 +02:00
lukaseder
63dffd78a1 [#5472] Check needs to be done repeatedly 2016-07-29 11:59:03 +02:00
lukaseder
87c3146d38 [#5472] Handling this in jOOQ-meta is asking for trouble. 2016-07-29 11:44:58 +02:00
lukaseder
d3964da6b8 [#5472] Add <emptyCatalogs/> and <emptySchemas/> to the code generator configuration, to prevent generating of empty catalogs / schemas 2016-07-29 11:18:17 +02:00
lukaseder
668d9dd731 [#5467] Fixed regression and re-generated jOOQ-meta 2016-07-27 16:39:33 +02:00
lukaseder
2ae8460ef0 [#5457] "overriding method fields in class AbstractRecord" compilation error when using ScalaGenerator on tables containing columns like "fields", "configuration", etc. 2016-07-25 11:23:00 +02:00
lukaseder
09c7bf7c6e [#5438] Restored Eric Peters' implementation draft 2016-07-21 16:50:08 +02:00
lukaseder
c1abeb7215 [#5431] Revert contributions 2016-07-21 08:52:10 +02:00
Eric Peters
d0d0526cec Implement a medium-complexity scala identifier matcher & escaper 2016-07-19 16:56:14 -07:00
Eric Peters
4085c5d7be 'name : Type' -> 'name: Type' scala-generated code format cleanup - http://docs.scala-lang.org/style/naming-conventions.html 2016-07-19 15:10:28 -07:00
lukaseder
270a21342b [#5424] Don't escape Scala-style setter names produced by naming strategies in ScalaGenerator 2016-07-19 21:27:41 +02:00
lukaseder
afd9beba42 [#5421] Revert changes 2016-07-19 19:19:19 +02:00
lukaseder
b44ed5dafb [#5421] Revert changes 2016-07-19 19:12:00 +02:00
Eric Peters
ca3e0b371b 'name : Type' -> 'name: Type' scala-generated code format cleanup - http://docs.scala-lang.org/style/naming-conventions.html 2016-07-18 12:04:27 -07:00
Eric Peters
e316272b78 Add scala-style setters '_=' to Record classes 2016-07-18 12:03:05 -07:00
lukaseder
acd1fd62f3 [#5349] Wrong defaults for <tableValuedFunctions/> in jOOQ Open Source Edition 2016-07-04 17:40:27 +02:00
lukaseder
ce1b91b716 [#5242] Better formatting 2016-07-04 15:15:59 +02:00
Lukas Eder
7f8c397beb Merge pull request #5373 from oflege/master
Add <syntheticIdentities> regular expression to code generator configuration
2016-07-04 14:41:44 +02:00
lukaseder
d12aad0122 [#5242] Fixed regression in Scala generated code 2016-07-04 11:06:47 +02:00
Oliver Flege
453f3f0d73 [#5360] Add <syntheticIdentities> regular expression to code generator configuration 2016-06-30 14:52:55 +02:00
lukaseder
681c018185 [#5347] Add XMLGenerator to produce an XML file containing meta information according to jooq-meta.xsd 2016-06-28 19:03:30 +02:00