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
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
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
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
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
b431727ee1
Release 3.9.0
2016-12-23 14:18:36 +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
lukaseder
f013a4c3c3
[ #5327 ] Allow for generating immutable interfaces (independently of POJOs)
2016-06-28 13:48:03 +02:00
lukaseder
a0f55fa4b8
[ #5334 ] Nested record generated when TABLE.COLUMN "overlaps" with a table called TABLE_COLUMN for MySQL
2016-06-07 23:05:40 +03:00
lukaseder
02e152543f
[ #5301 ] Fix
2016-05-25 10:36:44 +02:00
lukaseder
d3ec840bd8
[ #5301 ] Display a warning in the generator logs for regexes that never match
2016-05-25 10:34:12 +02:00
lukaseder
4755504dfa
[ #5291 ] Bad DataType.defaultValue() call generated for MySQL tables
2016-05-24 16:29:58 +02:00
lukaseder
3702122253
[ #5268 ] Compile error when a schema has the same name as a table within that schema
2016-05-13 15:29:47 +02:00
lukaseder
fb349dc083
[ #4164 ] Generate varargs setters for array types on interfaces / records / pojos, etc
2016-05-12 13:54:46 +02:00
lukaseder
8e8a7a9645
[ #3761 ] Add code generator configuration to specify a log level threshold
2016-04-18 15:07:54 +02:00
lukaseder
a12ce0fe68
[ #3482 ] Add flags to the code generator to turn on / off generation for tables, views, packages, procedures, udts, etc.
2016-03-23 19:28:00 +01:00
lukaseder
36223eefc2
[ #4427 ] ScalaGenerator generates Java code for MySQL / PostgreSQL enum types
2016-03-17 18:58:05 +01:00
lukaseder
57847eaf04
[ #3570 ] Add KeepNamesGeneratorStrategy to keep generated identifiers as they are in the database
2016-03-17 15:13:26 +01:00
lukaseder
93ddd14d1f
[ #4841 ] Add code generation support for column DEFAULT values
2016-03-11 15:22:27 +01:00
lukaseder
1e714a567c
[ #4427 ] Fixed compilation error in generated code
2016-03-07 13:18:49 +01:00
lukaseder
2570c1fb62
[ #5128 ] Don't generate javax.validation.NotNull for defaulted columns
2016-03-02 10:52:19 +01:00
lukaseder
9dc8e8e637
[ #4388 ] Compilation errors when applying <customType/> for PostgreSQL array types
2016-02-24 18:42:06 +01:00
lukaseder
6cdb29fd3e
[ #5103 ] Tables referencing object arrays generate Record array in POJOs, rather than POJO array
2016-02-22 15:27:53 +01:00
lukaseder
d691f1354c
[ #4427 ] ScalaGenerator generates Java code for MySQL / PostgreSQL enum types
2016-02-22 14:47:56 +01:00
lukaseder
38d34a10be
[ #5095 ] ScalaGenerator produces an invalid import expression for SQL array types
2016-02-22 13:45:07 +01:00
lukaseder
a40c1bf3fd
[ #2211 ] Change Record.getValue() and setValue() to get() and set()
2016-02-21 18:26:40 +01:00
lukaseder
2d7befeb17
[ #3942 ] Add support for PostgreSQL functions returning single table records
2016-02-11 16:23:26 +01:00
lukaseder
cc85f94b2a
[ #4517 ] Allow to configure the output file encoding in the code generator
2016-02-11 14:47:13 +01:00
lukaseder
b66e6f60a8
[ #4966 ] Regenerated Oracle schema
2016-02-02 16:19:13 +01:00
lukaseder
d818f06281
[ #4825 ] Default for <tableValuedFunctions/> depends on database
2016-02-02 12:02:05 +01:00
lukaseder
c902b950bb
[ #5009 ] Generate the JPA GeneratedValue annotation on identity columns
2016-02-02 11:56:32 +01:00
lukaseder
1f5a205ea1
[ #4838 ] Switched flag default to false
2016-01-27 17:13:54 +01:00
lukaseder
3605b32d79
[ #4869 ] Fixed initialisation issue with UDTs
2016-01-24 15:34:21 +01:00
lukaseder
153d161e70
[ #4920 ] Generated functions without parameter names produce malformed SQL
2016-01-22 18:59:49 +01:00
lukaseder
ff3e01750e
Fixed bad imports
2016-01-20 11:44:24 +01:00
lukaseder
8f30b065c0
[ #4952 ] [ #4954 ] New code generation flags
...
- [#4954 ] Add flag to turn off generation of queues
- [#4952 ] Add flag to turn off generation of database links
2016-01-20 11:05:53 +01:00
lukaseder
0826c10b16
[ #4901 ] Add UniqueKey.getName() and ForeignKey.getName()
2016-01-08 16:37:27 +01:00
lukaseder
94f0bb2f69
[ #4891 ] Accept DataSource in GenerationTool, in addition to Connection
2016-01-04 20:59:26 +01:00
lukaseder
11115c6741
[ #4889 ] Update copyright to 2016
2016-01-04 20:59:08 +01:00
lukaseder
57fee34acc
[ #4889 ] Update copyright to 2016
2016-01-04 18:02:42 +01:00
lukaseder
a2eb9d5720
[ #4868 ] Default to two spaces in Scala
2015-12-31 15:22:08 +01:00
lukaseder
602a200420
[ #4879 ] Add generateGlobalCatalogReferences() and generateGlobalSchemaReferences() flags to code generator
2015-12-31 12:29:26 +01:00
lukaseder
938fb6f5e2
Blank out rather than mask [pro] code to avoid confusion with users
2015-12-31 10:02:02 +01:00
lukaseder
217a07b332
[ #4883 ] Table valued functions generate bad Scala code
2015-12-30 20:09:00 +01:00
lukaseder
4b90f3b26a
[ #4880 ] Escaped block comment inside of Scaladoc causes compilation error
2015-12-30 18:53:54 +01:00
lukaseder
bee46a0761
[ #4848 ] Replace all tabs also in content
2015-12-30 18:40:45 +01:00
lukaseder
b053be3e93
[ #4869 ] Generate schema and catalog references in order to fully qualify tables
2015-12-30 18:28:21 +01:00
lukaseder
407aaf26b7
[ #4868 ] We must've run out of important things to implement... :-P
2015-12-30 12:09:23 +01:00
lukaseder
d7678c44ac
[ #4848 ] Add internal API to configure indentation of generated code
2015-12-30 10:25:29 +01:00
lukaseder
9a9903f6fe
[ #4855 ] Remove final keyword on JavaGenerator methods
2015-12-28 07:54:18 +01:00
lukaseder
bdd7e0b0c7
[ #4839 ] Rename Generator.fullyQualifiedTypes() to generateFullyQualifiedTypes() for naming consistency
2015-12-22 15:17:27 +01:00
lukaseder
1b8b773e14
[ #4838 ] Add code generation flag <tableValuedFunctions/> to turn off generation of table-valued functions
2015-12-22 14:49:13 +01:00
lukaseder
ba0b2a2760
[ #4833 ] Generate standalone function call for table-valued functions
2015-12-21 18:34:48 +01:00
lukaseder
709286faad
[ #4829 ] Generated convenience methods Routines.f() have misleading Javadoc
2015-12-21 18:14:41 +01:00
lukaseder
8145f77f2e
[ #4827 ] Add CatalogVersionProvider
2015-12-20 12:45:39 +01:00
lukaseder
eb4702ea6c
Remove confusing [java-8] tags in OSS edition
2015-12-17 15:05:01 +01:00
lukaseder
6c1fc75aff
[ #4744 ] Record getter and setter names are generated with Mode.DEFAULT rather than Mode.Record
2015-12-16 15:22:56 +01:00
lukaseder
75ff22fe99
[ #2032 ] Handle "DEFAULT_CATALOG" in the absence of catalog support
2015-12-10 14:58:09 +01:00
lukaseder
e2b4d0915d
[2032] Added first implementation draft working with SQL Server
2015-12-10 14:38:42 +01:00
lukaseder
2e0b9d4588
[ #681 ] Added support for domains to jOOQ-meta and generate stub classes
2015-10-18 16:51:46 +02:00
lukaseder
0a63655957
[ #4124 ] Add <username/> as a synonym for <user/> in the code generation configuration
2015-10-14 17:32:02 +02:00
lukaseder
bd2420b410
[ #4626 ] Zero-length DAO source files generated for non-updatable tables
2015-10-12 16:49:00 +02:00
lukaseder
52e9c51812
[ #4620 ] Change error message when jOOQ-meta database type could not be found
2015-10-09 10:02:55 +02:00
lukaseder
bb286f23ef
[ #4264 ] Revert change
2015-10-08 11:25:02 +02:00
lukaseder
5454fdbd0d
Fixed warnings
2015-10-07 11:16:11 +02:00
lukaseder
c8dd018f64
[ #4575 ] SQL comments with javadoc terminators break generated code
2015-09-27 12:29:19 +02:00
lukaseder
ac0e19131c
[ #4576 ] JavaWriter uses regex syntax unsupported in Java <1.8
2015-09-27 11:50:46 +02:00
lukaseder
d2db1503d7
[ #3082 ] Don't import generated interfaces if there are no generated interfaces
2015-09-16 19:04:41 +02:00
lukaseder
fb2f776057
[ #3082 ] Let generated POJOs reference Java array types, instead of ArrayRecords
2015-09-16 18:53:21 +02:00
lukaseder
f1cd6cead7
[ #4567 ] Import also nested generic types of generated code
2015-09-16 17:05:11 +02:00
lukaseder
7c4df876c1
[ #4562 ] Moved suggested implementation from GenerationUtil to DefaultGeneratorStrategy
2015-09-16 15:36:34 +02:00
Vladimir Vinogradov
e286fbb143
do not escape dot in names, but use capital case after it
2015-09-16 12:20:11 +03:00
lukaseder
a3b8019ba0
[ #4537 ] Let GenerationTool accept multiple argument configurations
2015-09-13 10:04:27 +02:00
lukaseder
bdd1b6814e
[ #1364 ] Generate toString() on POJOs
2015-09-11 12:42:34 +02:00
lukaseder
61a0b5bb4d
[ #4531 ] Generated schema and generated Sequences classes import each other, which generates warnings (unused import)
2015-09-11 11:47:53 +02:00
lukaseder
90e4e506c2
[ #4526 ] ScalaGenerator generates broken code when using xxxImplements
2015-09-09 08:01:01 +02:00
lukaseder
39452d3680
[ #4470 ] Add <springAnnotations/> code generation configuration to generate Spring annotations on select objects
2015-08-13 13:45:29 +02:00
lukaseder
e35f3f572a
[ #4222 ] Add support for Oracle DB links in the code generator
2015-08-06 16:03:06 +02:00
Lukas Eder
e6c53b2698
Merge pull request #4430 from lightoze/master
...
[#4430 ] Fix routine parameter code generation for types with a binding
2015-07-29 16:55:54 +02:00
lukaseder
01eba80994
[ #4429 ] Reverted incomplete implementation
2015-07-29 15:43:23 +02:00
Vladimir Kulev
7bf3afcafb
Fix routine parameter code generation for types with a binding
2015-07-28 01:06:59 +03:00
lukaseder
d89572c098
[ #4429 ] Add <javaTimeTypes/> to code generator configuration to generate Java 8 java.time types instead of java.sql types (incomplete implementation)
2015-07-27 16:00:25 +02:00
lukaseder
87ac3d61b6
[ #4229 ] ScalaGenerator generates unneeded imports
2015-06-15 13:21:59 +02:00
lukaseder
66950031d0
[ #4355 ] Regression with <schemaVersionProvider/> caused by formatting of @Generated annotation
2015-06-03 18:21:47 +02:00
lukaseder
246a7261ed
[ #4349 ] The trial / pro license is accidentally delivered with the Open Source Edition
2015-06-03 11:00:55 +02:00
lukaseder
474c29262b
[ #4287 ] Remove unused import org.jooq.Row in generated records
2015-05-19 18:12:10 +02:00
lukaseder
d5fb5b1f6b
[ #4264 ] Deprecate the <jpaAnnotations/> code generation flag
2015-05-04 12:24:03 +02:00
lukaseder
50698a3e2f
[ #4248 ] daoImplements option in MatcherStrategy not generating an implements statement in DAO class
2015-04-29 19:16:58 +02:00
lukaseder
04867f7e21
[ #4227 ] ScalaGenerator should have its own list of reserved words
2015-04-29 09:28:35 +02:00
lukaseder
889673f75c
[ #4236 ] Compilation error in compiled code when column is called "null"
2015-04-27 22:50:34 +02:00
lukaseder
72c4478442
[ #4227 ] ScalaGenerator should have its own list of reserved words
2015-04-27 22:41:11 +02:00
lukaseder
1dd15005f7
[ #4225 ] ScalaGenerator logs that it generates XXX.java files
2015-04-27 08:37:10 +02:00
lukaseder
c141458372
[ #4021 ] Avoid unnecessary imports also in Scala
2015-04-14 13:42:03 +02:00
lukaseder
10a3485e0a
[ #4190 ] Generated Record.values() does nothing
2015-04-10 17:35:53 +02:00
lukaseder
c66ef8a4f6
[ #4173 ] NullPointerException when using SQL99 dialect with XMLDatabase
...
for code generation
2015-04-08 18:42:03 +02:00
lukaseder
4d4ccf7454
Package generation is only available in Oracle
2015-03-18 19:08:56 +01:00
lukaseder
73e5405dde
[ #4146 ] Generate PL/SQL constants
2015-03-18 18:53:35 +01:00
Lukas Eder
02af0c849a
[ #4132 ] GeneratorStrategy.instanceFields should be true by default
2015-03-10 17:43:14 +01:00
Lukas Eder
63c8c48a80
[ #4122 ] Log code generation configuration XML only in DEBUG level
2015-03-04 14:54:41 +01:00
Lukas Eder
1d87609c02
[ #4114 ] Compilation error when a stored procedure has a parameter named "value" and the generator strategy generates lower case literals
2015-03-03 16:30:56 +01:00
lukaseder
27d26848d2
[ #4106 ] Add support for T-SQL optional INTEGER return values from stored procedures
2015-03-02 13:41:14 +01:00
lukaseder
0616fefee3
Don't import the class itself
2015-02-17 09:14:15 +01:00
lukaseder
7432f474a8
[ #3734 ] Implement "C:/Program Files (x86)/Git/bin/sh.exe" as a default expression in matcher strategy rules
2015-02-10 11:18:13 +01:00
lukaseder
d0c5ea50cd
[ #4021 ] Some bugfixes
2015-02-08 19:44:17 +01:00
lukaseder
7cdbbe29f6
[ #4021 ] Add a ScalaGenerator
2015-02-08 19:02:26 +01:00
Lukas Eder
ffc4ef5582
[ #3882 ] Overload JavaGenerator.generateXXX() methods to contain a JavaWriter argument
2015-01-09 15:15:28 +01:00
Lukas Eder
8f72523997
Updated copyright to 2015
2015-01-07 17:57:59 +01:00
Lukas Eder
1d657f258f
[ #1363 ] Generate a copy constructor for POJOs
2015-01-06 18:31:31 +01:00
lukaseder
ddb54f2942
[ #3899 ] Compilation error in generated code when a sequence name ends
...
with $
2015-01-05 19:20:27 +01:00
lukaseder
5d7beb98ee
[ #3784 ] Add additional <global[XXX]References/> flags to prevent
...
generation of individual reference classes
2015-01-05 18:31:20 +01:00
lukaseder
fad02d294f
[ #3745 ] NullPointerException when <jdbc/> is not provided and
...
<database/> <name/> isn't provided either
2015-01-05 18:14:03 +01:00
lukaseder
6c845e9aac
[ #3877 ] Generated "fetchBy[ColumnName]" methods in DAOs shouldn't
...
Mode.POJO
2015-01-05 17:38:40 +01:00
lukaseder
02f20375f3
[ #3336 ] Add code generation flag to enable / disable imports in
...
generated code
2014-12-30 18:00:23 +01:00
lukaseder
af55cca5ee
[ #3336 ] Add code generation flag to enable / disable imports in
...
generated code
2014-12-30 17:21:50 +01:00
lukaseder
43a0f0aa53
[ #3880 ] Cannot access private JavaGenerator.newJavaWriter() method
2014-12-23 09:33:16 +01:00
lukaseder
6db5568fb9
[ #2919 ] Distinguish various PostgreSQL versions in the PostgreSQL
...
family: 9.3, 9.4
2014-12-19 11:24:34 +01:00
Lukas Eder
0d0fef9b11
[ #3860 ] Allow to specify defaults for all regular expression flags in the code generation configuration. Add CASE_INSENSITIVE to defaults
2014-12-17 16:29:23 +01:00
Lukas Eder
7aa41ef8bf
[ #3765 ] Add support for HANA
2014-12-17 16:27:56 +01:00
lukaseder
92a234a84a
[ #3845 ] NullPointerException in code generator when there is an empty
...
<inputSchema/> element in Oracle
2014-12-04 20:46:25 +01:00
lukaseder
b0b04d753a
[ #3831 ] <dateAsTimestamp/> deprecation warning is displayed even if the
...
flag is not active
2014-12-02 17:37:54 +01:00
lukaseder
038ac1bac4
[ #3378 ] Error when fully qualifying PostgreSQL table-valued functions in
...
SELECT clauses
2014-11-26 08:36:32 +01:00
lukaseder
bc54d3ba36
[ #3797 ] For table-valued functions, generate also a static method in
...
Tables.java
2014-11-24 10:51:39 +01:00
Lukas Eder
af78ccd484
[ #3792 ] Code generator erroneously refers to "singleton instances" of tables in generated Javadoc
2014-11-21 16:01:36 +01:00
Lukas Eder
03058d4a3d
[ #3782 ] Add a method to create a org.jooq.util.Database by SQLDialect
2014-11-20 17:42:55 +01:00
Lukas Eder
ef39b04e18
[ #3369 ] Render CAST(? AS DATE) for java.sql.Timestamp bind values that are bound to Oracle DATE columns
2014-11-17 11:50:49 +01:00
Lukas Eder
a5afce8508
[ #3770 ] Deprecate <dateAsTimestamp/>
2014-11-14 17:35:41 +01:00
lukaseder
d501e8bd93
[ #3756 ] Regenerate files only if there is a difference
2014-11-11 14:49:32 +01:00
Lukas Eder
0f5f67bf8c
[ #1380 ] Extract equals() and hashCode() generation into an overridable protected method.
2014-10-13 10:10:11 +02:00
Lukas Eder
107a02824d
[ #3668 ] Let GenerationTool also search absolute and relative paths
2014-10-06 18:20:42 +02:00
Lukas Eder
8d94027341
[ #3669 ] Make the code generator's <database/> element optional
2014-10-06 18:06:50 +02:00
Lukas Eder
5cc7fc277b
[ #2155 ] Add Converter support to Routines and UDTs
2014-09-08 12:39:23 +02:00
Lukas Eder
0877a37084
[ #2155 ] [ #3624 ] Add Converter support to Routines and UDTs
...
- Updated API and code generator to fix compilation issues
- Integration tests not yet implemented
2014-09-05 17:05:49 +02:00
Lukas Eder
ccb0daadd7
[ #1380 ] [ #3613 ] Generate equals(), hashCode() on POJOs:
...
- Renamed XSD property to indicate that this applies only to POJOs
- Correctly handle arrays in hashCode() calculations
2014-09-02 17:56:57 +02:00
Zoltan Tamasi
9bf1073bae
Use Arrays.equals() inside generated equals() methods.
2014-09-02 15:07:55 +02:00
Zoltan Tamasi
1a4e1c0964
Update GenerationTool
2014-09-01 17:21:44 +02:00
Zoltan Tamasi
629b878d01
Add codegen capability to create equals() and hashCode() methods for POJOs.
2014-09-01 15:21:08 +02:00
Lukas Eder
b00ffa16ec
[ #3599 ] Implement nicer formatting of @Generated annotation
2014-08-27 10:58:52 +02:00
Lukas Eder
d17ade77cf
[ #3598 ] If tables define their own comments, don't generate "This class is generated by jOOQ." in Javadocs
2014-08-27 10:51:39 +02:00
Lukas Eder
4a5105d405
[ #3121 ] Skip code re-generation when schema is known to be the same
2014-08-26 13:33:22 +02:00
Lukas Eder
bf519b11f2
[ #3596 ] Let code generator empty generated packages on a per-schema basis
2014-08-26 11:26:19 +02:00
Lukas Eder
865f50f5ed
[ #3566 ] Add GenerationTool.generate(String) to generate code from an XML string
2014-08-18 16:55:45 +02:00
Lukas Eder
a581727372
[ #3569 ] The <database/> tag is no longer mandatory in the code generator configuration
2014-08-18 16:03:07 +02:00
Lukas Eder
5759f87f83
[ #3567 ] Code generator error message refers to wrong XSD
2014-08-18 15:28:37 +02:00
Lukas Eder
3a117886ba
[ #3559 ] Propagate jOOQ-codegen's relations flag also to jOOQ-meta, to prevent (possibly expensive) queries to fetch relations
2014-08-15 14:13:01 +02:00
Lukas Eder
f1f099e3a5
[ #3556 ] Generated Oracle Stored procedures do not reference types from other schemas
2014-08-13 15:41:56 +02:00
Lukas Eder
eba0cb2d44
[ #3488 ] Compilation error in generated code, when a similar tables T_A and TA exist
2014-08-04 11:21:06 +02:00
Lukas Eder
5c7114d1e3
[ #561 ] Add support for the Informix database - Bootstrapping integration tests
2014-07-29 16:32:11 +02:00
Lukas Eder
4da811b6bb
[ #3456 ] Name clash in generated code when Routine argument is called "f" (functions) or "p" (procedures)
2014-07-28 10:57:05 +02:00
Lukas Eder
44ac987073
[ #3450 ] Backslashes is SQL comments don't get escaped
2014-07-25 17:04:44 +02:00
Lukas Eder
d1db55a556
[ #3451 ] Add XMLDatabase to generate a database schema from an XML file - First draft
2014-07-25 16:38:44 +02:00
Lukas Eder
5c247d2165
[ #3425 ] Add support for Oracle AQ
2014-07-18 18:45:08 +02:00
Lukas Eder
512be5b236
[ #3370 ] Allow for overriding the class Javadocs for generated objects
2014-07-01 15:12:40 +02:00
Lukas Eder
82117d0e99
[ #2886 ] jooq-codegen-maven should look into project dependencies for jdbc driver
2014-06-24 15:02:47 +02:00
Lukas Eder
1027d8734a
[ #3346 ] Allow for omitting the JDBC driver property in the code generator
2014-06-23 15:15:28 +02:00
Lukas Eder
83bfc3296f
[ #3117 ] jOOQ illegally generates covariant setters on UDTRecords and UDT Pojos when <pojos/> and <interfaces/> are activated
2014-06-17 14:24:18 +02:00
Lukas Eder
a507d50bc4
[ #3154 ] Add code-generation configuration to generate synthetic primary keys for updatable views
2014-06-06 14:57:51 +02:00
Lukas Eder
d7c07da369
[ #3018 ] Add <outputSchemaToDefault/> to support "default schemas" during code generation
2014-05-27 12:35:41 +02:00
Lukas Eder
2d3e032a11
[ #3282 ] inputSchema / outputSchema codegen configuration has no effect in Oracle, if inputSchema is lower-cased
2014-05-27 12:34:12 +02:00
Lukas Eder
591aa0f322
[ #3233 ] Add DataTypeDefinition.getConverter()
2014-05-05 15:14:26 +02:00
Lukas Eder
fcd068dfb3
[ #3202 ] Allow for Pattern.COMMENTS in code generation configuration's regexes
2014-04-26 13:59:07 +02:00
Lukas Eder
8448985e7a
[ #3176 ] Don't generate "assignment-constructors" for POJOs and Records
...
with more than 255 columns
2014-04-11 17:39:17 +02:00
Lukas Eder
a6c08048d4
[ #3176 ] Don't generate "assignment-constructors" for POJOs with more than 255 columns
2014-04-11 15:42:50 +02:00
Lukas Eder
ab29b4a73f
[ #3130 ] Generated UDTRecords should be more similar to generated TableRecords
2014-03-12 20:21:08 +01:00
Lukas Eder
e2aa1bcda9
[ #3128 ] Change ArrayRecord.setList(List<? extends E>) into ArrayRecord.set(Collection<? extends E>)
2014-03-12 19:44:08 +01:00
Lukas Eder
7c02149bf1
[ #3125 ] Generate default ArrayRecord constructors that don't need a
...
Configuration
[#3126 ] Deprecate generated ArrayRecord constructors that take a
Configuration argument
2014-03-12 19:09:44 +01:00
Lukas Eder
50da819acb
[ #3108 ] Local Fields' Converters should be preferred over globally registered Converters
2014-03-08 13:57:48 +01:00
Lukas Eder
06b20164f4
[ #3093 ] Add code-generation configuration to treat UNIQUE keys as primary keys to generate UpdatableTables
2014-03-03 12:29:14 +01:00
Lukas Eder
053ac010fe
[ #3096 ] Add Constants.XSD_RUNTIME, NS_RUNTIME, XSD_CODEGEN, NS_CODEGEN
2014-03-03 11:35:54 +01:00
Lukas Eder
2b9acf7366
[ #3081 ] Let generated POJOs reference generated UDT POJOs instead of UDT Records
2014-02-24 14:06:40 +01:00
Lukas Eder
dd5d2a1857
[ #3080 ] Generate Interfaces for Oracle and PostgreSQL UDTs
2014-02-24 13:39:14 +01:00
Lukas Eder
ca4c36e8c0
[ #3010 ] Generate POJOs for Oracle and PostgreSQL UDTs
2014-02-24 13:12:54 +01:00
Lukas Eder
37b424edc8
[ #2573 ] Generate DAOs for tables with composite primary keys
2014-02-22 13:52:46 +01:00
Lukas Eder
1320420f5f
Updated copyright information
2014-02-03 18:05:02 +01:00
Lukas Eder
d10a27ed3c
Updated copyright information
2014-02-03 12:22:20 +01:00
Lukas Eder
a1b6996990
[ #2937 ] Fix trailing whitespaces in generated code
2014-01-15 18:10:28 +01:00
Lukas Eder
67fe34927d
[ #2950 ] Add Table.getComment() and Field.getComment() to access comment
...
meta information from the schema
2014-01-15 17:59:22 +01:00
Lukas Eder
34030c1b7a
[ #1070 ] Avoid generating empty Routines.java file
2014-01-15 16:18:16 +01:00
Lukas Eder
025d77c1e0
[ #2945 ] Deprecate the <generateInstanceFields/> code generation flag
2014-01-13 19:14:11 +01:00
Lukas Eder
32dd2e1b8d
[ #1070 ] Add support for SQL Server table-valued functions
2014-01-13 19:06:25 +01:00
Lukas Eder
df0f3c0840
[ #2828 ] Use a default Database for code generation, in the absence of an explicit database
2014-01-07 14:12:12 +01:00
Lukas Eder
192a27e1e8
[ #2932 ] Retry loading the GenerationTool configuration file with a / prepended if it fails
2014-01-07 09:35:52 +01:00
Lukas Eder
f1dd4315d5
[ #2016 ] Bad parsing of MySQL ENUM literals by jooq-meta, if they contain special characters
2013-12-31 15:57:48 +01:00
Lukas Eder
e8b578802f
[ #2921 ] Add support for ad-hoc table renaming
2013-12-31 14:04:40 +01:00
Lukas Eder
f844ba26cd
[ #2910 ] The new matchers configuration cannot be used with Maven
2013-12-31 12:01:47 +01:00
Lukas Eder
69dc3871a1
[ #2915 ] Log JDBC URL in code generator configuration log
2013-12-28 11:58:32 +01:00
Lukas Eder
a23aef9e57
[ #2885 ] Generated enum values contain extra comma
2013-12-16 18:07:09 +01:00
Lukas Eder
babb0a4f49
[ #2709 ] Add Record[N].value1(xx), value2(xx) setter methods
2013-12-09 12:58:58 +01:00
Lukas Eder
fd2d3280c8
[ #2781 ] Disambiguate collisions between enum literals and package names
2013-11-28 19:28:00 +01:00
Lukas Eder
fad61c8389
[ #2844 ] Let JAXB emit more warnings when loading the code generation configuration
2013-11-12 14:01:23 +01:00
Lukas Eder
fab632a14a
Better codegen output formatting
2013-11-12 13:49:04 +01:00
Lukas Eder
23d70004cd
[ #2837 ] Deprecate code generation configuration's <expressions/> in favour of <expression/>
2013-11-11 13:12:30 +01:00
Lukas Eder
77efa7ede2
[ #2801 ] add help message to jOOQ-Codegen when OSS users try using commercial databases
2013-10-29 12:22:23 +01:00
Lukas Eder
5e7f157f52
Converted all \r\n to \n
2013-10-10 10:13:22 +02:00
Lukas Eder
f8dd234cb7
OSS / Commercial dual-licensing: Mask out commercial code sections from publicly available GitHub repository.
2013-10-07 14:52:51 +02:00
Lukas Eder
5080114610
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
...
Conflicts:
jOOQ-codegen/src/main/java/org/jooq/util/JavaGenerator.java
2013-10-07 10:45:00 +02:00
lukaseder
b92ce8ab59
[ #674 ] Add <fluentSetters/> code generation flag to let generated
...
setters return this
2013-10-06 10:52:27 +02:00
Lukas Eder
63717b517f
Updated licensing link from /eula to /licensing
2013-10-02 16:36:22 +02:00
Lukas Eder
9f937fd944
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
...
Conflicts:
jOOQ-test/configuration/org/jooq/configuration/lukas/h2/library.xml
jOOQ-test/src/org/jooq/test/H2Test.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/Public.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/F1256.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/F317.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FArrays1.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FArrays2.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FArrays3.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FAuthorExists.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FGetOneCursor.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FNumber.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/FOne.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/PCreateAuthor.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/routines/PCreateAuthorByName.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TArrays.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TAuthor.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TBookToBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TBooleans.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TDates.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TExoticTypes.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TIdentity.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TIdentityPk.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TLanguage.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TTriggers.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/TUnsigned.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/T_2327UkOnly.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/T_639NumbersTable.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/T_725LobTest.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/T_785.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/T_877.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/VAuthor.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/VBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/VLibrary.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/V_2603.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/XTestCase_2025.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/XTestCase_64_69.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/XTestCase_71.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/XTestCase_85.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/XUnused.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/daos/TBookDao.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/daos/TBookStoreDao.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/interfaces/ITBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/interfaces/ITBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/interfaces/ITBookToBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/interfaces/IVBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/pojos/TBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/pojos/TBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/pojos/TBookToBookStore.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/pojos/VBook.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/pojos/VLibrary.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/records/TBookRecord.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/records/TBookStoreRecord.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/records/TBookToBookStoreRecord.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/records/VBookRecord.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/records/VLibraryRecord.java
jOOQ-test/src/org/jooq/test/h2/generatedclasses/tables/Ää.java
2013-09-23 11:09:29 +02:00
lukaseder
1a4ce84c4a
[ #1171 ] Add a MatcherStrategy GeneratorStrategy to allow for
...
configurative regex pattern matching and replacement
2013-09-21 17:51:48 +02:00
Lukas Eder
4b365851a5
Restored file header
2013-09-18 17:56:21 +02:00
Lukas Eder
ece38d31c3
Remove parts of the Commercial API during splitting
2013-09-18 15:52:42 +02:00
Lukas Eder
0de43e50a1
Settle for final multi-licensing model: ASL 2.0 / Commercial
2013-09-17 12:01:08 +02:00
Lukas Eder
de209f55b2
[ #2745 ] Generate default constructor and "assignment-constructor" in
...
POJOs
2013-09-16 10:13:16 +02:00
Lukas Eder
8c45556912
[ #2730 ] Immutable Pojo+Interface code generation produces uncompilable
...
pojo
2013-09-16 10:13:09 +02:00
Lukas Eder
e0bf2e1de0
[ #2713 ] Add support for custom code sections in generated code
2013-09-16 10:13:01 +02:00
Lukas Eder
9675da7d2b
New Licensor: Data Geekery GmbH
...
- Reverted previous license change (which was too restrictive)
- Changed license to
- ASL 2.0 + Commercial for use with Open Source databases
- AGPL 3.0 + Commercial for use with commercial databases
2013-09-16 10:12:56 +02:00
Lukas Eder
34c8ff98ed
New Licensor: Data Geekery GmbH
...
- Transferred license from Lukas Eder to Data Geekery GmbH
- Changed license from ASL 2.0 to
- LGPL + Commercial for jOOQ
- AGPL + Commercial for jOOQ-codegen, jOOQ-meta, jOOQ-scala and others
2013-09-16 10:12:45 +02:00
Lukas Eder
d465dcbd14
[ #2706 ] Generate "full" constructors in records, allowing to construct a
...
record with all values set
2013-08-23 17:35:55 +02:00
Lukas Eder
d0947d8c32
Fixed warnings
2013-08-23 17:22:49 +02:00
Lukas Eder
795543245c
[ #2699 ] Generate DEFAULT and NULL metadata information on generated
...
DataTypes
2013-08-19 16:09:46 +02:00
Lukas Eder
70fd391aed
[ #2603 ] Add <includeExcludeColumns/> flag to code generation
...
configuration to indicate that <includes/> and <excludes/> shall also
match column names
2013-08-16 14:55:49 +02:00
Lukas Eder
9216742d70
[ #2618 ] Document the fact that different packages are generated for
...
different schemas
2013-07-07 13:28:27 +02:00
Lukas Eder
b80be10495
[ #2573 ] Add a tag in the code generator as a reminder
2013-06-29 19:05:30 +02:00
Lukas Eder
591afd7fcb
[ #2135 ] Postgres ENUM data type isn't supported correctly, if the
...
ENUM needs full qualification
2013-06-23 13:50:07 +02:00
Lukas Eder
4e4874e367
[ #2502 ] Code generation fails to generate valid java for stored
...
procedures that accept parameters named configuration.
2013-06-10 21:43:33 +02:00
Lukas Eder
d239a99d7f
Whitespace fix in generated javax.annotation.Generated reference
2013-06-09 12:52:06 +02:00
Lukas Eder
64e48ea499
[ #2461 ] Generator Encoding Error for Database-Objects with Unicode-Names
2013-05-24 19:56:44 +02:00
Lukas Eder
d10cd42caf
[ #2413 ] Suppress warnings in generated code (@SuppressWarnings("all")
...
doesn't suppress "rawtypes" warnings with javac)
2013-05-03 11:55:56 +02:00
Lukas Eder
da03005313
[ #2390 ] Change Configuration API to reflect jOOQ-style getter / setter
...
naming - Fixed code generator
2013-04-07 17:32:08 +02:00
Lukas Eder
20af63d55e
[ #2379 ] Replace 3.0-RC1 Executor type by a contextual DSL type
...
constructed from Factory.using() - Step 3
- Make Executor package-private
- Rename Executor to ContextDSLImpl
- Re-generate H2, MySQL, Oracle databases
- Let DAO reference a Configuration instead of an Executor [#2382 ]
2013-04-06 18:45:45 +02:00
Lukas Eder
ec4283f169
[ #2366 ] Add org.jooq.util.example package to jOOQ-codegen with some
...
example GeneratorStrategies
2013-04-03 21:25:03 +02:00
Lukas Eder
fe22d7b8d0
[ #2366 ] Add org.jooq.util.example package to jOOQ-codegen with some
...
example GeneratorStrategies
2013-04-03 21:15:50 +02:00
Lukas Eder
8e8915c008
[ #2328 ] Remove UpdatableTable marker interface, pulling up methods
...
to Table
2013-03-24 11:45:40 +01:00
Lukas Eder
e7b46589a1
[ #2350 ] Do not statically reference a Connection from GenerationTool
2013-03-23 11:34:30 +01:00
Lukas Eder
dd2eaf1541
[ #2308 ] Do not generate "final" Tables.java, UniqueKeys.java, etc
2013-03-08 12:45:48 +01:00
Lukas Eder
e491172bfe
Revert "[ #2248 ] Javac's max constant pool of 64k can be exceeded in
...
generated Keys.java or Tables.java - Regenerated Oracle schema"
2013-03-08 11:42:57 +01:00
Lukas Eder
9c3e348987
[ #2294 ] Compilation errors when code generator is configured with
...
<daos>true</daos> and <relations>false</relations>
2013-03-08 09:42:02 +01:00
Lukas Eder
30a6a85d73
[ #2308 ] Do not generate "final" Tables.java, UniqueKeys.java, etc
2013-03-08 09:24:20 +01:00
Lukas Eder
4abbb89b91
[ #2314 ] Outdated GenerationTool Javadoc
2013-03-08 08:56:59 +01:00
Lukas Eder
ac4ef099ec
[ #2298 ] Suppress warnings in generated code (@SuppressWarnings("all")
...
doesn't work with javac)
2013-03-03 10:05:29 +01:00
Lukas Eder
e5ce8d118b
[ #2248 ] Javac's max constant pool of 64k can be exceeded in
...
generated Keys.java or Tables.java
2013-02-28 18:42:31 +01:00
Lukas Eder
79886062ca
Applied formatter
2013-02-28 18:04:09 +01:00
Lukas Eder
d4e1445c5e
[ #2285 ] Add more verbosity to the code generator, when configured badly
2013-02-28 15:08:11 +01:00
Lukas Eder
38f2f6b39a
[ #2283 ] Class loading issues in GenerationTool when called by Gradle -
...
Removed unnecessary method argument
2013-02-28 12:38:59 +01:00
Lukas Eder
3fee0582b9
Fixed whitespace (no tabs, only spaces)
2013-02-28 12:35:05 +01:00
Lukas Eder
669c18f1c0
[ #2283 ] Class loading issues in GenerationTool when called by Gradle -
...
Avoid NPE's now, that <jdbc/> is an optional configuration element
2013-02-28 12:07:11 +01:00
Lukas Eder
07672a1432
[ #2283 ] Class loading issues in GenerationTool when called by Gradle -
...
Allow for setting ClassLoader and/or Connection externally
2013-02-28 12:04:52 +01:00
Lukas Eder
ab6b36f943
[ #2283 ] Class loading issues in GenerationTool when called by Gradle
2013-02-28 10:23:47 +01:00
Lukas Eder
e012c0e547
[ #2255 ] Add code generation option to avoid the generation of
...
"global object references"
2013-02-20 17:22:18 +01:00
Lukas Eder
682f844709
[ #2212 ] "code size too large" in generated SchemaImpl, when the number
...
of tables exceeds 15k
2013-02-19 18:53:16 +01:00
Lukas Eder
fba595a302
[ #1977 ] Remove the confusing concept of having a "main key" as opposed
...
to a "primary key"
2013-02-12 12:30:11 +01:00
Lukas Eder
3d30514a52
[ #2133 ] Allow for mapping <outputSchema/> to "" (empty) in order to
...
avoid the generation of a schema
2013-02-11 15:14:59 +01:00
Lukas Eder
e7b3db3ccb
[ #2079 ] Support generation of bean validation annotations on records
...
and interfaces
2013-02-11 14:13:23 +01:00
Lukas Eder
d62d6c5994
[ #2154 ] Generated Records should access values by index, not by
...
field, for performance reasons
2013-02-04 16:22:00 +01:00
Lukas Eder
f4adc38d8e
Improved performance of AbstractRecord.fieldsRow(), resulting in a
...
14% performance gain in a relevant Record.setValue(),
Record.getValue() benchmark
2013-02-01 14:08:59 +01:00
Lukas Eder
c18d6b45af
[ #1649 ] Remove support for code generation from pre-jOOQ 2.0 .properties
...
file
2013-01-06 16:55:20 +01:00
Lukas Eder
b442a62ee8
[ #2089 ] Generate an "empty" DefaultSchema for those databases that do
...
not have any schema (CUBRID, Firebird, SQLite)
2013-01-04 15:52:40 +01:00
Lukas Eder
b84c0060b9
Changed year number in copyright to 2013
2013-01-03 12:05:32 +01:00
Lukas Eder
135b9f2501
[ #2076 ] Stop "supporting" comma-separated regular expressions in the
...
code generator configuration
2013-01-02 19:50:05 +01:00
Lukas Eder
cb0ca38a36
[ #1801 ] Add Table.as(String, String...) to allow for creating a
...
table alias with aliased fields - Regenerated Firebird schema
2013-01-02 17:03:50 +01:00
Lukas Eder
d22d68f19e
[ #1801 ] Add Table.as(String, String...) to allow for creating a
...
table alias with aliased fields - Fixed code generator
2013-01-02 14:39:50 +01:00
Lukas Eder
e71d9444c2
[ #2043 ] Remove generated navigation methods
2012-12-22 18:17:05 +01:00
Lukas Eder
3a7f4951be
[ #2042 ] Remove generated setters, setting foreign key values from
...
records
2012-12-22 18:08:09 +01:00
Lukas Eder
a0cd2916e2
[ #2025 ] Correctly handle multiple foreign keys defined on the same
...
column
2012-12-22 17:56:17 +01:00
Lukas Eder
1ec5cd4ced
[ #2041 ] Generate foreign key name into records' fetch methods' Javadoc
2012-12-22 17:29:52 +01:00
Lukas Eder
fa7edefc65
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Added convenience method DataType.precision(int precision, int scale)
2012-12-22 08:39:06 +01:00
Lukas Eder
70a0ab3f44
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Let code generator generate precision, scale, and length information
- Let MetaDataFieldProvider read precision, scale, and length
information from JDBC meta data
2012-12-21 22:35:26 +01:00
Lukas Eder
9b9f105417
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed SQLDataType from the DataType type hierarchy
2012-12-21 21:36:39 +01:00
Lukas Eder
a50307089d
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Removed deprecated method from [SQLDialect]DataType
- Regenerated various schemata
2012-12-21 21:09:57 +01:00
Lukas Eder
520a92e4da
Prevent duplicate interface names in generated code
2012-12-21 21:08:25 +01:00
Lukas Eder
623ee20bb6
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes
...
- Renamed AbstractDataType to DefaultDataType, made it non-abstract
- Removed [SQLDialect]DataType from DefaultDataType's type hierarchy
2012-12-21 20:54:14 +01:00
Lukas Eder
a007ba599d
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed unneeded DataType.getType(int, int)
2012-12-21 19:51:31 +01:00
Lukas Eder
003bc5d903
[ #456 ] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
...
Removed some obsolete DataType API parts
2012-12-21 18:50:22 +01:00
Lukas Eder
91ed5cf6f9
[ #1689 ] Generate <E> E into(E) and <E> R from(E) methods to generated
...
records
2012-12-20 15:41:40 +01:00
Lukas Eder
7a80d2f155
[ #1118 ] Remove support for the code generation ant task
2012-11-11 13:25:26 +01:00
Lukas Eder
d94d8cba3c
[ #1690 ] Add UpdatableRecord.key() returning a Record holding PK values
2012-11-10 11:18:07 +01:00
Lukas Eder
35b043286d
[ #1931 ] Code generator improvements
...
- Simplified JavaGenerator by removing unnecessary abstractions
- Re-ordered methods in generated Record classes
- Removed dead code
2012-11-04 17:28:30 +01:00
Lukas Eder
51733742b8
[ #1934 ] Improve generated Record Javadoc
2012-11-04 14:03:44 +01:00
Lukas Eder
7547b42763
[ #1931 ] Code generator improvements
2012-11-04 11:54:59 +01:00
Lukas Eder
ecc9a835b7
[ #1932 ] Generate Javadocs for Table constructors
2012-11-04 11:23:42 +01:00
Lukas Eder
b3cd1c5cdf
[ #1931 ] Code generator improvements
...
- Added String.format() support to GenerationWriter
- Moved Javadoc printing to JavaWriter
- Separated Java writing (JavaWriter) from general writing
(GeneratorWriter)
- Rewrote some generation logic
- Added some convenience to GeneratorStrategy
- Regenerated H2, Oracle, Postgres schemata
2012-11-03 16:00:12 +01:00
Lukas Eder
7f43e88e0a
Removed unneeded writer
2012-11-02 18:14:06 +01:00
Lukas Eder
5e9e00a973
[ #1918 ] Let generated Records implement Record1, Record2, ...,
...
Record[N] if applicable
2012-10-31 21:14:23 +01:00
Lukas Eder
e506d9de65
[ #1533 ] Extract Executor API from Factory. Let Factory contain only
...
static QueryPart factory methods
2012-10-26 23:03:04 +02:00
Lukas Eder
f4e7c57732
[ #1887 ] Remove all deprecated code
2012-10-26 18:25:34 +02:00
Lukas Eder
65e292f261
[ #1740 ] Remove support for generated master data enums
2012-10-26 17:02:06 +02:00
Lukas Eder
4a1fc9cd8a
[ #1887 ] Remove all deprecated code
2012-10-26 15:54:25 +02:00
Lukas Eder
aab4c5737c
[ #1866 ] Deprecate [Schema-Name]Factory, remove reference to it from the
...
tutorials
2012-10-12 18:22:22 +02:00
Lukas Eder
024b3e4913
Improved logging formatting
2012-09-22 13:59:21 +02:00
Lukas Eder
55e7449efa
[ #1791 ] Log a table's input/output names, and PK name when generating
...
code
2012-09-05 19:13:22 +02:00
Lukas Eder
943f084b13
Removed useless Javadoc
2012-09-05 19:06:32 +02:00
Lukas Eder
438504c265
[ #1783 ] Generate @SuppressWarnings("all") in jOOQ-generated artefacts
2012-09-01 12:09:23 +02:00
Lukas Eder
7d69442b3b
Suppress some warnings
2012-08-25 17:38:39 +02:00
Lukas Eder
e346394ac7
[ #1730 ] Compilation errors in SQLite generated code when flag
...
<instanceFields/> is set to true
2012-08-23 20:01:19 +02:00
Lukas Eder
f4a3e2a4c8
[ #457 ] Add support for Oracle user-defined AGGREGATE functions
2012-08-05 11:14:21 +02:00
Lukas Eder
8070268def
[ #1664 ] By default, activate <relations/> in the code generator
2012-08-04 12:49:22 +02:00
Lukas Eder
7a56784539
[ #1584 ] Code generation error with Oracle UDT static functions
2012-08-01 09:59:17 +02:00
Lukas Eder
100681882a
[ #1339 ] Add option to generate immutable pojos
2012-07-31 23:59:18 +02:00
Lukas Eder
f3f93dfa29
[ #1596 ] Add support for optimistic locking using generated information
...
about "timestamp" or "version" columns
2012-07-27 12:35:24 +02:00
Lukas Eder
d2dc730ccb
[ #1587 ] Generate missing constructors taking DataSource in
...
schema-specific factories
2012-07-19 19:44:15 +02:00
Lukas Eder
c95aa4cb7b
[ #1552 ] Generate fetchBy[ColumnName] methods in generated DAO classes
2012-07-11 22:17:52 +02:00
Lukas Eder
0749aa48b7
[ #1510 ] Generate additional setters for foreign keys, accepting records
...
as arguments
2012-07-06 19:01:25 +02:00
Lukas Eder
0fd55ed604
[ #1534 ] Generate more meaningful Javadoc where "an uncommented item"
...
stands now
2012-07-06 12:36:39 +02:00
Lukas Eder
ae04a2ed19
[ #1525 ] Generate missing Javadoc to getters for procedure OUT parameters
2012-07-06 12:25:40 +02:00
Lukas Eder
cab9bde9de
[ #1528 ] Let generated interfaces extend Serializable
2012-07-06 12:19:16 +02:00
Lukas Eder
51fd7fc55a
[ #1499 ] Generated members of Tables.java are not final
2012-06-30 10:23:32 +02:00
Lukas Eder
22222acb75
[ #1490 ] Compilation error when a SQL Server stored procedure has a
...
parameter named "value"
2012-06-29 19:33:26 +02:00
Lukas Eder
1973a7abee
[ #1509 ] Minor improvements in the generator source code. GitHub pull
...
request #23 - Added Javadoc
2012-06-29 17:55:30 +02:00
Aaron Digulla
16c5442f0c
Allow to suppress the generation of the "hiding" option for @SuppressWarnings to get rid of the warning about unused options in @SuppressWarnings...
2012-06-22 16:37:49 +02:00
Aaron Digulla
40e941080f
Move getting of unique keys into a new method to allow better reuse of the code
2012-06-18 09:43:55 +02:00
Aaron Digulla
a764e59103
Allow extended classes to access the strategy
2012-06-18 09:42:35 +02:00
Aaron Digulla
f0c63e6253
Split huge generate(schema) method in several smaller ones.
...
Improved exception handling.
Made the code reusable in custom code generators.
2012-06-07 17:59:15 +02:00
Aaron Digulla
7fda9a03ee
There is no point hiding this method from custom code generators.
2012-06-07 17:58:10 +02:00
Aaron Digulla
9f7e7e7fa9
Use the new exception
2012-06-07 17:57:50 +02:00
Aaron Digulla
75084e61f9
New exception to get rid of most try-catch blocks in the code generator
2012-06-07 17:57:21 +02:00
Aaron Digulla
fe9c1fe668
Made StopWatch a field, so we don't have to pass it around all the time.
2012-06-07 16:42:54 +02:00
Lukas Eder
b168ff70ef
[ #1459 ] Generated Keys.java static class too large (static initialiser
...
can become bigger than 64kb)
2012-06-03 13:38:29 +02:00
Lukas Eder
bd72bc41af
[ #1473 ] Add IdentityDefinition to jooq-meta
2012-06-02 13:25:49 +02:00
Lukas Eder
2d166011d7
Removed unused method
2012-06-01 17:48:47 +02:00
Lukas Eder
947d2c6421
[ #1463 ] Add option to let generated Record / POJO objects implement a
...
common generated interface
2012-06-01 17:47:46 +02:00
Lukas Eder
0e5225302e
[ #1456 ] Custom generator strategy's printImplements() is called with
...
Mode == RECORD for tables
2012-06-01 17:26:58 +02:00
Lukas Eder
f109e734a0
[ #1358 ] Compilation errors in generated source code when Oracle
...
overloaded procedures collide with procedures that end with numbers
2012-06-01 15:40:51 +02:00
Lukas Eder
2150f95d2c
[ #1454 ] Add line breaks to generated Javadoc where appropriate
2012-05-25 14:56:49 +02:00
Lukas Eder
2dc7d8856d
[ #1449 ] Generate some meaningful Javadoc into the generated
...
[schema-name]Factory classes
2012-05-25 14:34:11 +02:00
Lukas Eder
36d8a90508
Reverted recent developments around XML/CSV export of
...
INFORMATION_SCHEMA. Such a solution is not maintainable
2012-05-23 22:04:28 +02:00
Lukas Eder
2d2e665e80
[ #1439 ] Add CSVGenerator to export TABLES.csv, COLUMNS.csv,
...
ROUTINES.csv, etc.
2012-05-22 22:09:36 +02:00
Lukas Eder
d905d6b9e0
[ #875 ] Add XMLGenerator to export an INFORMATION_SCHEMA.xml
...
[#1434 ] Add UniqueKeyDefinition.isPrimaryKey() for completeness
[-] Removed
CONSTRAINT_COLUMN_USAGE from HSQLDB generated
INFORMATION_SCHEMA classes
2012-05-20 21:31:01 +02:00
Lukas Eder
b074cea5e8
[ #1280 ] Generate DAO classes and interfaces for POJOs - some fixes
...
[#1428 ] Add DataType.convert(Object...) and
DataType.convert(Collection<?>) for convenience
2012-05-19 11:58:39 +02:00
Lukas Eder
aade4d7026
[ #1280 ] Generate DAO classes and interfaces for POJOs
...
[#1427 ] Add Factory.batchStore(Collection<? extends UpdatableRecord<?>>)
for convenience
2012-05-18 18:37:18 +02:00
Lukas Eder
7d7aa5049d
[ #1406 ] Compilation errors in generated source code when Postgres stored
...
procedure parameter is called "NAME"
2012-05-10 18:54:22 +02:00
Lukas Eder
74205afc53
[ #1407 ] Compilation errors in generated source code when Postgres
...
data-type is "any" (with quotes!)
2012-05-10 18:46:20 +02:00
Lukas Eder
130e6b1024
[ #1394 ] NullPointerException when omitting <generate/> element in code
...
generation configuration
2012-05-04 11:46:16 +02:00
Lukas Eder
db2b2ac946
[ #1376 ] Oracle UDTs in REF CURSORs are not deserialised correctly from
...
procedure OUT parameters
[#1377 ] Oracle UDTs are not deserialised correctly when the same UDT
name is present in multiple schemata
2012-04-29 11:26:57 +02:00
Lukas Eder
7e0dd5803d
Fixed potential issue with default value for generation directory
2012-04-25 20:07:46 +02:00
Lukas Eder
5737e16275
[ #1315 ] Let generated factories use their associated Schema as the Settings' RenderMapping's defaultSchema
2012-04-14 15:27:06 +00:00
Lukas Eder
d99b20b89c
[ #1279 ] NullPointerException when leaving <inputSchema/> empty
...
[#1312 ] Allow for omitting <inputSchema/>, and generate all available schemata in that case
2012-04-14 13:47:05 +00:00
Lukas Eder
fcf396140e
[ #1304 ] Add option to generate JSR-303 @NotNull and @Size annotations to generated POJO's
2012-04-13 09:32:40 +00:00
Lukas Eder
d756423efa
[ #1298 ] Avoid source code generation errors when generating code for unknown, dialect-specific data types
2012-04-10 17:55:17 +00:00
Lukas Eder
874adda9cd
[ #1255 ] Let generated Tables contain a protected default constructor, to be able to extend classes - Github issue #12
2012-04-08 13:14:24 +00:00
Lukas Eder
948d015c43
[ #1270 ] Most databases allow for multiple identical foreign keys. This leads to compilation errors in generated source code
2012-04-06 09:03:54 +00:00
Lukas Eder
5c6a588eec
[ #1183 ] Add support for DEFAULT values in Oracle stored procedure parameters
...
[#1252 ] Avoid JDBC escape syntax for stored procedure calls, where this is possible
2012-03-23 11:53:55 +00:00
Lukas Eder
7441caa7da
[ #1243 ] Let generated POJOs (and Records) extend base classes
2012-03-21 20:59:08 +00:00
Lukas Eder
9bc49f23c6
[ #1244 ] Cannot override class name in GeneratorStrategy in Mode.POJO
2012-03-20 18:26:43 +00:00
Lukas Eder
651d07ef19
Release 2.1.0 - Added some logging
2012-03-18 13:41:11 +00:00
Lukas Eder
993b79d8f6
[ #1233 ] Support custom JDBC properties for jooq-codegen-maven plugin
2012-03-16 10:27:39 +00:00
Lukas Eder
15e8873b07
[ #349 ] Add SQLite relations support
...
[#1234 ] Add Database.getTable(SchemaDefinition, String, boolean) to fetch tables case-insensitively
2012-03-16 10:25:59 +00:00
Lukas Eder
38c865e191
[ #1209 ] Render @javax.persistence.Column(length, precision, scale) properties, if available
...
[#1224 ] Add DataTypeDefinition.getLength() to jooq-meta's type system
2012-03-11 12:31:07 +00:00
Lukas Eder
affc61d698
[ #1013 ] Add integration tests for various use-cases involving custom enum types
2012-03-10 16:34:56 +00:00
Lukas Eder
54633e826d
[ #1218 ] Add code generation options to generate <customTypes/> referencing a Java type and a Converter - First implementation draft
2012-03-04 19:07:19 +00:00
Lukas Eder
8663000e96
[ #1211 ] Enforce method name disambiguation also when using custom strategies (regression of #182 )
...
[#1212 ] Enforce identifier disambiguation also when using custom strategies (regression)
2012-03-03 20:28:22 +00:00
Lukas Eder
890cd6e89e
[ #1194 ] Add ColumnDefinition.isNullable()
...
[#1208 ] Render @javax.persistence.Column(nullable = false) property, if available
2012-03-03 19:31:41 +00:00
Lukas Eder
64fd48639c
[ #1150 ] Add code generation option to disable generation of records
2012-03-02 17:22:53 +00:00
Lukas Eder
d26df720d0
[ #625 ] Remove dependency from generated Routines to the generator's SQLDialect
2012-03-02 14:47:23 +00:00
Lukas Eder
428108b426
Updated copyright date from 2009-2011 to 2009-2012
2012-02-27 18:40:53 +00:00
Lukas Eder
5951e92b69
[ #408 ] Add class prefixes, suffixes and other options to the code generator - Fixed issue introduced with various GeneratorStrategy refactorings
2012-02-26 12:27:07 +00:00
Lukas Eder
d5d7991976
[ #1179 ] Oracle-generated ArrayRecords need a reference to org.jooq.Schema to read TABLE of OBJECT from stored procedures
2012-02-24 17:11:44 +00:00
Lukas Eder
c782d24981
[ #408 ] Add class prefixes, suffixes and other options to the code generator - added a prefix example
2012-02-19 15:46:08 +00:00
Lukas Eder
d59f78d4d4
[ #1166 ] Some generated Javadoc uses naming strategy or plain output name, instead of qualified output name
...
[#1168 ] Oracle packages are generated as static, instead of static final
2012-02-19 11:16:28 +00:00
Lukas Eder
0999c86c6f
[ #1126 ] codegen - Add attribute for factory name - Removed Definition.getJavaName() again. This feature is sufficiently covered by [ #408 ] and is thus rejected
2012-02-19 07:59:37 +00:00
Lukas Eder
3c08fc6a6a
[ #408 ] Add class prefixes, suffixes and other options to the code generator (example strategy implementation still missing)
2012-02-18 18:56:46 +00:00
Lukas Eder
1480a0d962
[ #408 ] Add class prefixes, suffixes and other options to the code generator - removed references to deprecated code
2012-02-18 17:02:03 +00:00
Lukas Eder
66a7b1778f
- [ #408 ] Add class prefixes, suffixes and other options to the code generator - deprecated getJavaIdentifierUC, replaced by getJavaIdentifier
...
- [#408 ] Add class prefixes, suffixes and other options to the code generator - regenerated source code, now all identifiers are upper case
2012-02-18 16:37:26 +00:00
Lukas Eder
58ef7190ec
[ #408 ] Add class prefixes, suffixes and other options to the code generator - deprecated getFullJavaIdentifierUC, replaced by getFullJavaIdentifier
2012-02-18 16:18:25 +00:00
Lukas Eder
385e4c6b30
[ #408 ] Add class prefixes, suffixes and other options to the code generator - deprecated getJavaClassNameLC, replaced by more meaningful method names
2012-02-18 16:06:09 +00:00
Lukas Eder
1a3b91734b
[ #408 ] Add class prefixes, suffixes and other options to the code generator - replaced "suffix" by "mode" in GeneratorStrategy
2012-02-18 15:35:47 +00:00
Lukas Eder
43b3f39083
[ #1164 ] Distinguish between Definition.getInputName(), .getOutputName(), .getJavaName()
...
[#1165 ] Add constraint name to generated javadoc
2012-02-18 13:58:53 +00:00
Lukas Eder
17a61d8856
[ #1149 ] Allow for optional " http://www.jooq.org/xsd/jooq-codegen-2.0.4.xsd " namespace in jooq-codegen configuration
2012-02-16 20:59:00 +00:00
Lukas Eder
c0764d20c3
[ #492 ] RUNTIME-CONFIG: Add run-time configuration
...
[#1151 ] Deprecate SchemaMapping in favour of new runtime configuration
Re-generated jooq-meta artefacts
2012-02-15 21:41:16 +00:00
Lukas Eder
1597e34955
Fixed code generation issues
2012-02-12 15:06:28 +00:00
Lukas Eder
28681a811d
[ #1136 ] Add generation option to generate navigation methods
2012-02-12 13:55:50 +00:00
Lukas Eder
5f68d70aa7
[ #1134 ] NullPointerException in code generation when a foreign key constraint references a table from another schema that is not being generated
2012-02-12 12:58:42 +00:00
Lukas Eder
c40db95450
[ #1096 ] Add support for generator.generate.unsigned-types in Maven source code generation
...
[#1108 ] Add support for multi-schema databases using Maven code generation
2012-02-11 15:03:13 +00:00
Lukas Eder
08684517d1
[ #8 ] Add JPA annotations to generated POJOs
2012-02-11 11:39:31 +00:00
Lukas Eder
08fb1fd521
[ #1127 ] Add support for POJO classes generation
2012-02-10 21:42:37 +00:00
Lukas Eder
855eeb641d
[ #1095 ] Move generator.generate.unsigned-types to generator.database namespace
2012-02-04 22:02:10 +00:00
Lukas Eder
e90b1f4071
[ #282 ] Add support for multi-schema databases
2012-02-03 13:39:37 +00:00
Lukas Eder
9bb49fc234
[ #395 ] Use XML configuration file instead of plain properties file
2012-01-29 21:28:55 +00:00
Lukas Eder
86c380a534
[ #395 ] Use XML configuration file instead of plain properties file - Implemented backwards-compatibility
2012-01-29 20:46:32 +00:00
Lukas Eder
22d3e3f2c4
[ #395 ] Use XML configuration file instead of plain properties file - Implemented backwards-compatibility
2012-01-29 20:41:39 +00:00
Lukas Eder
882f2ba7c8
[ #395 ] Use XML configuration file instead of plain properties file - Added jaxb artefacts
2012-01-29 18:52:58 +00:00
Lukas Eder
c47e79b92f
[ #395 ] Use XML configuration file instead of plain properties file - Added jaxb artefacts
2012-01-29 18:35:45 +00:00
Lukas Eder
83d67f09f9
[ #1033 ] Generate table comments into generated Tables.java as Javadoc
2012-01-05 20:02:40 +00:00
Lukas Eder
f5eb466fd9
[ #1011 ] Add code generation configuration parameter to avoid generating @Generated annotation
2011-12-30 10:09:45 +00:00
Lukas Eder
08b7d6ecf5
[ #968 ] Allow for custom enum types, configured in the code generator - fixed Postgres casting of synthetic EnumTypes
2011-12-23 12:04:46 +00:00
Lukas Eder
8509ecdcb4
Release 2.0.1-SNAPSHOT
2011-12-04 17:32:12 +00:00
Lukas Eder
81c9131d6d
[ #958 ] CODEGEN: Add generation-time schema mapping, allowing for re-writing schemata in jooq-codegen
2011-11-22 19:14:32 +00:00
Lukas Eder
55239a4757
[ #960 ] CODEGEN: Add code generation configuration parameter to avoid using the new UByte, UShort, UInteger, ULong wrappers for UNSIGNED number types
2011-11-21 18:06:57 +00:00
Lukas Eder
0e606c9342
[ #959 ] Compilation errors in generated source code if MySQL enum values match Java reserved words, such as 'true', 'false', 'new', etc...
2011-11-20 20:50:03 +00:00
Lukas Eder
e8f4bab3cb
[ #955 ] Generate a reference to every type in a new UDTs.java class
2011-11-20 18:26:26 +00:00
Lukas Eder
41f1fa807f
[ #799 ] Add support for Oracle PL/SQL's object-oriented MEMBER PROCEDURES and MEMBER FUNCTIONS
...
[#957 ] Add <R> R Factory.newRecord(UDT<R>) for constructing attached UDTRecords
2011-11-18 21:10:36 +00:00
Lukas Eder
b25421cbf4
[ #937 ] In the event of name clash (same name for table and field) generated code has errors
...
[#953 ] Make DefaultGeneratorStrategy methods non-final to allow for overriding
2011-11-18 14:09:26 +00:00
Lukas Eder
e3399d9baa
[ #951 ] Empty Password for jOOQ-codegen-maven Causes NPE
2011-11-18 09:58:12 +00:00
Lukas Eder
d5ba94ae38
[ #117 ] Improve DSL support for field and table aliasing (decrease verbosity)
...
[#938 ] CODEGEN: Add static/instance table field configuration
2011-11-14 19:47:07 +00:00
Lukas Eder
56b06a9405
[ #117 ] Improve DSL support for field and table aliasing (decrease verbosity) - experimental implementation
2011-11-13 23:11:10 +00:00
Lukas Eder
01fcc2311a
[ #924 ] Generate a reference to every table in a new Tables.java class
2011-11-11 19:09:04 +00:00
Lukas Eder
bec1685cfe
[ #923 ] Reduce the internal API leak by moving some utilities to org.jooq.tools
2011-11-11 18:04:41 +00:00
Lukas Eder
61e6c87299
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide ParameterImpl
2011-11-11 17:47:23 +00:00
Lukas Eder
db8ba92e7e
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide UDTFieldImpl
2011-11-11 16:45:39 +00:00
Lukas Eder
2ef7382160
[ #686 ] Reduce the internal API leak by preventing access to TableFieldImpl, UDTFieldImpl, and other internal classes - Hide TableFieldImpl
2011-11-11 16:20:23 +00:00
Lukas Eder
081d0e71a1
[ #894 ] Move functions from Field<?> to new org.jooq.impl.SQL and make them static - moved string functions
2011-11-05 18:04:32 +00:00