Commit Graph

3693 Commits

Author SHA1 Message Date
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
Lukas Eder
ff67579f2e Merge pull request #3613 from zoltan-tamasi/issue-1380-branch
[#1380][#3613]: Add codegen capability to create equals() and hashCode() methods for POJOs.
2014-09-02 17:23:47 +02:00
Zoltan Tamasi
9bf1073bae Use Arrays.equals() inside generated equals() methods. 2014-09-02 15:07:55 +02:00
Lukas Eder
c417085008 [#3427] Internal QueryCollectorSignal exception escapes into user code when not dealt with in ExecuteListener 2014-09-02 10:04:18 +02:00
Zoltan Tamasi
1a4e1c0964 Update GenerationTool 2014-09-01 17:21:44 +02:00
Zoltan Tamasi
48fdd24b93 Fix xsd 2014-09-01 17:21:30 +02:00
Lukas Eder
79ad8c8b7d [#3612] No H2 driver dependency needed in the code generator 2014-09-01 16:54:29 +02:00
Lukas Eder
1752ec211e This example doesn't use Petri's Spring tutorial 2014-09-01 16:17:26 +02:00
Lukas Eder
6b1ee90530 [#3612] Add an example project showing how to import an ERD export format to the code generator 2014-09-01 16:16:26 +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
d1410f17f8 [#3451] Don't filter schemas in getSchemata0() 2014-09-01 14:43:01 +02:00
Lukas Eder
b8f96ed9ef [#3611] Add a jOOQ / Nashorn example to the repository 2014-09-01 12:25:49 +02:00
Lukas Eder
bc537587c1 [#3608] Typo in documentation of transaction method 2014-08-29 16:27:42 +02:00
Lukas Eder
853e4a0a7e [#3600] Add support for SQL standard SELECT .. WITH CHECK OPTION 2014-08-29 16:24:50 +02:00
Lukas Eder
4b9fd5c63b [#3602] Cannot INSERT into view 2014-08-29 16:05:21 +02:00
Lukas Eder
0b2cb84ab5 [#3532] Fixed bad @Support annotations 2014-08-29 15:40:53 +02:00
Lukas Eder
347f97c9aa Maintaining the integration tests in both OSS and commercial versions is too much effort. 2014-08-29 15:10:07 +02:00
Lukas Eder
e89f310cfa [#3532] Add support for DROP ... IF EXISTS clauses in DDL 2014-08-29 14:54:13 +02:00
Lukas Eder
bb2181030e Fixed Oracle issue in test 2014-08-29 09:50:56 +02:00
Lukas Eder
d8ee1ec43f Fixed @Support annotations 2014-08-27 14:13:51 +02:00
Lukas Eder
00f956e39c Fixed compilation error 2014-08-27 13:56:56 +02:00
Lukas Eder
cee7511940 [#3506] Instrument the jOOQ API during integration tests to verify correct application of @Support annotations 2014-08-27 13:14:43 +02:00
Lukas Eder
b00ffa16ec [#3599] Implement nicer formatting of @Generated annotation 2014-08-27 10:58:52 +02:00
Lukas Eder
a8e2b1ef79 [#3598] If tables define their own comments, don't generate "This class is generated by jOOQ." in Javadocs - Regenerated schema 2014-08-27 10:51:49 +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
566e12e5e1 [#3597] Generate table and column comments also for PostgreSQL - Regenerated schema 2014-08-27 10:46:38 +02:00
Lukas Eder
bc2be8b61d [#3597] Generate table and column comments also for PostgreSQL 2014-08-27 10:46:33 +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
ce3691a776 Ignore /target dir 2014-08-26 10:47:04 +02:00
Lukas Eder
915df76da3 [#1392] Add formatInsert() to render insert statements from a Result 2014-08-26 10:46:56 +02:00
Lukas Eder
68b6ec5b60 [#2674] Add support for stored procedures in MockConnection / MockDataProvider / MockExecuteContext 2014-08-25 18:10:08 +02:00
Lukas Eder
587155ab1f [#3595] Add MockResult<init>(Record data) convenience constructor 2014-08-25 18:03:44 +02:00
Lukas Eder
e46450c793 [#3592] Add Setting to enable Oracle scalar subquery caching for stored function calls 2014-08-25 16:00:22 +02:00
Lukas Eder
754328b80b [#3586] Context.paramType() is initially null instead of INDEXED 2014-08-22 15:24:28 +02:00
Lukas Eder
a557297532 [#3582] Record.from(Object) does not consider DataType.nullable() which may lead to constraint violations when inserting 2014-08-22 14:54:25 +02:00
Lukas Eder
278aa65195 [#1658] Fixed compilation issues 2014-08-22 14:54:16 +02:00
Lukas Eder
908e0ca38f [#1658] Add support for SQL standard UNION syntax. jOOQ's current understanding of UNION is just convenience 2014-08-22 14:20:26 +02:00
Lukas Eder
042bf4fcef [#3577] Don't render "empty" OFFSET 0 clauses 2014-08-22 10:20:00 +02:00
Lukas Eder
e7b80c4672 [#2080] Better, more generic fix 2014-08-20 16:40:55 +02:00
Lukas Eder
dc024aa19b [#3575] Reverted fix 2014-08-20 16:19:25 +02:00
Lukas Eder
6ae9daf558 [#2080] [#3575] Bugfixes:
- [#2080] Syntax error in rendered SQL when using limit().offset() with aliased projections in SQL Server
- [#3575] SQL Server doesn't support referencing column aliases in ORDER BY clause expressions
2014-08-20 15:50:08 +02:00
Lukas Eder
ee0aade684 [#3571] Converted Data Type does not propagate nullable and defaulted properties - Regenerated schema 2014-08-19 18:50:38 +02:00
Lukas Eder
f4cee633c0 [#3571] Converted Data Type does not propagate nullable and defaulted properties 2014-08-19 18:50:12 +02:00
Lukas Eder
008c1e6cd8 Merge pull request #3571 from stanislas/converted-data-types
Converted Data Type does not propagate nullable and defaulted properties.
2014-08-19 18:40:34 +02:00
Stanislas Nanchen
5d8411728d Converted Data Type propagates nullable and defaulted properties. 2014-08-19 17:45:19 +02:00
Lukas Eder
bf17910789 [#3495] Wrap generation in a task 2014-08-19 16:27:10 +02:00
Lukas Eder
73fb71ca24 [#3483] Let <forcedType/>'s <expression/> match both fully qualified column names as well as unqualified column names 2014-08-19 10:34:10 +02:00
Lukas Eder
7a1fd7f044 Merge branch 'master' of https://github.com/jOOQ/jOOQ.git 2014-08-18 17:30:29 +02:00
Lukas Eder
8fbf5cf890 [#3519] Document the PostgreSQL JDBC's limitations with respect to large cursors when using Connection.autoCommit = true 2014-08-18 17:29:51 +02:00