Commit Graph

737 Commits

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