Commit Graph

246 Commits

Author SHA1 Message Date
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
c4cb32ee5e Release 3.0.0-RC2 2013-03-08 10:30:08 +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
244f82c49f Release 3.0.0-SNAPSHOT 2013-02-28 10:33:51 +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
8576e1d56d Release 3.0.0-RC1 2013-02-16 14:28:59 +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
cf4a9e521d Upgraded .classpath JRE reference from 1.6 to 1.7 2012-12-28 14:49:06 +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
1adbf989e1 Ignore new Eclipse warning "potential resource leak". It seems to
enforce a very rigid resource lifecycle handling
2012-12-02 10:29:02 +01:00
Lukas
d82f0455ab Some auto-generated preference / settings changes 2012-12-01 17:01:49 +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