Commit Graph

660 Commits

Author SHA1 Message Date
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