Commit Graph

364 Commits

Author SHA1 Message Date
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
521df3ff8b Fixed the Eclipse 'join_wrapped_lines' setting 2014-07-01 13:39:47 +02:00
Lukas Eder
55fa5d1daf Aagh... Eclipse o_O 2014-06-24 15:03:01 +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
0d5ac1f778 Release 3.5.0-SNAPSHOT 2014-06-23 09:57:20 +02:00
Lukas Eder
a511c45ad8 Release 3.4.0 2014-06-20 10:51:45 +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
e83850b356 Added IntelliJ meta info to .gitignore 2014-06-06 14:58:11 +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
19710efc14 Upgraded Eclipse settings to reflect lambda and improved annotation formatting 2014-05-27 09:42:37 +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
f012c538dd Release 3.4.0-SNAPSHOT 2014-02-17 19:08:24 +01:00
Lukas Eder
2c5130acee Release 3.3.0 2014-02-14 16:45:40 +01:00