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
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
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
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