Commit Graph

1108 Commits

Author SHA1 Message Date
Lukas Eder
983e9d2b5b [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Improved integration test to transform also nested selects, joins and
derived tables.
2013-08-12 13:14:49 +02:00
Lukas Eder
6823c070e2 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

* Added integration test for query manipulation
2013-08-05 17:04:42 +02:00
Lukas Eder
e0a6ab102e [#2010] Added failing integration test for batch store operations, when
used with RecordListeners
2013-08-05 16:17:48 +02:00
Lukas Eder
5b4cf0924c [#2010] Added support for DELETE event. Slightly changed STORE event
semantics
2013-08-05 16:06:42 +02:00
Lukas Eder
1595f09690 [#2010] Implemented INSERT, UPDATE, STORE lifecycle events 2013-08-05 15:53:37 +02:00
Lukas Eder
290601afce [#2010] Add listener API to Record / UpdatableRecord
* Added support for REFRESH event
2013-08-05 15:30:10 +02:00
Lukas Eder
ee9f1fed76 [#2010] Add listener API to Record / UpdatableRecord
* Implemented record loading lifecycle events
2013-08-05 15:00:55 +02:00
Lukas Eder
0f4297cc97 [#2669] Fixed this issue by setting @@sql_mode = 'NO_BACKSLASH_ESCAPES' 2013-08-01 18:53:25 +02:00
Lukas Eder
bf7650e2d0 [#2669] Bad string literal escaping for MySQL when creating literals
like 'car\' - Added failing test case
2013-08-01 18:01:10 +02:00
Lukas Eder
33361455c5 [#2666] Pull up RenderContext.sql(QueryPart) and
BindContext.bind(QueryPart) to Context.visit(QueryPart)
2013-08-01 15:32:25 +02:00
Lukas Eder
83d9fe33a9 [#2626] Hide current Template implementation from public. This may not
make it into jOOQ 3.2
2013-07-30 16:58:47 +02:00
Lukas Eder
1798c7afe1 [#2626] Add org.jooq.Template for custom SQL templating
And also:
* [#2630] Add DSL.queryPart(String, Object...) and similar methods to
create simple plain SQL query parts
2013-07-10 16:39:28 +02:00
Lukas Eder
75b7f54c70 [#2619] Add an example ExecuteListener, showing how UPDATE and DELETE
statements without WHERE clause can be aborted
2013-07-07 12:46:27 +02:00
Lukas Eder
2a426b9471 [#2613] The batch INSERT query example in the manual is no longer
correct with jOOQ 3.x - Added some integration tests
2013-07-06 13:35:30 +02:00
Lukas Eder
e60dc20866 [#2608] Error in code generator when the sqlite_sequence table is
missing
2013-07-05 09:56:23 +02:00
Lukas Eder
c39a9ce700 [#2534] Correctly handle Oracle BLOB and CLOB data types, when fetched
through plain SQL - Added integration tests
2013-07-04 16:16:22 +02:00
Lukas Eder
753d5f367d [#2534] Correctly handle Oracle BLOB and CLOB data types, when fetched
through plain SQL - Added failing integration test
2013-07-04 16:09:06 +02:00
Lukas Eder
690a17277d [#1079] Add support for Oracle's FLASHBACK QUERY clause 2013-07-04 12:16:32 +02:00
Lukas Eder
604a73b7b8 [#2606] Distinguish ORACLE10G, ORACLE11G, ORACLE12C SQLDialects within
the ORACLE family
2013-07-04 10:49:07 +02:00
Lukas Eder
e811cfd66d Fixed test for SQL Server 2013-07-04 10:47:25 +02:00
Lukas Eder
297db8be93 [#2581] Deprecate fetchLater() and FutureResult<R> 2013-07-04 09:39:10 +02:00
Lukas Eder
2256a01d62 [#2577] Skip the test for Sybase 2013-07-03 17:11:59 +02:00
Lukas Eder
b8013f3cf0 Fixed integration test for Sybase 2013-07-03 17:04:17 +02:00
Lukas Eder
3a3a1cd62f [#2591] Added failing integration test 2013-07-03 16:50:49 +02:00
Lukas Eder
f01cbe9798 [#2492] Add support for the MS Access database - Fixed some compilation
issues in the Access integration
2013-07-03 14:47:24 +02:00
Lukas Eder
0a169d6545 Resolved compile-time ambiguity 2013-07-03 14:45:54 +02:00
Lukas Eder
f08445a838 [#2492] Add support for the MS Access database - More fixes to the
Access integration
2013-07-02 22:37:01 +02:00
Lukas Eder
b5a00d70f7 [#2594] Regenerated Access database 2013-07-02 22:36:07 +02:00
Lukas Eder
088160e24d [#2593] Add Meta.getPrimaryKeys() 2013-07-02 21:59:41 +02:00
Lukas Eder
8ef4103416 [#2492] Add support for the MS Access database - First time code
generation
2013-07-02 21:27:02 +02:00
Lukas Eder
e25b92d711 [#2492] Add support for the MS Access database - Initial setup 2013-07-02 21:26:47 +02:00
Lukas Eder
19f9697cab [#2582] Added an integration test for a CREATE VIEW statement via jOOQ 2013-07-02 15:29:29 +02:00
Lukas Eder
29c68da044 Fixed test2 schema for MySQL 2013-06-30 14:49:30 +02:00
Lukas Eder
3a22a9ee51 Fixed test that doesn't enforce resetting of data 2013-06-30 13:58:19 +02:00
Lukas Eder
d10563ae8c Skip test if no stored functions are supported 2013-06-30 13:37:04 +02:00
Lukas Eder
d74988011f Ignore unreliable Eclipse resource leaks warnings 2013-06-30 13:18:57 +02:00
Lukas Eder
25f03028a5 [#2569] Error when rendering SQL Server procedures with
Settings.renderSchema == false
2013-06-29 18:19:44 +02:00
Lukas Eder
982e3c3107 [#2311] [#2571] Add Configuration.recordMapperProvider() to override
jOOQ's internal default ReflectionMapper

* [#2311] Add Configuration.recordMapperProvider() to override jOOQ's
internal default ReflectionMapper
* [#2571] Add a new RecordType<R extends Record> type to make up for the
missing recursive type definition on Record
2013-06-29 18:02:17 +02:00
Lukas Eder
bc8cdb6e23 [#833] Add integration tests for both jconn3 and jTDS JDBC drivers for
Sybase and SQL Server
2013-06-28 14:07:08 +02:00
Lukas Eder
a4eded5b46 [#2566] Upgrade integration test jTDS version to 1.3.1 2013-06-28 14:06:18 +02:00
Lukas Eder
fc54860099 [#2058] Add support for the MariaDB database 2013-06-28 13:34:35 +02:00
Lukas Eder
55a9fd6183 [#742] Improve MySQL Stored Procedure support using MySQL 5.5's
INFORMATION_SCHEMA.PARAMETERS dictionary table - Regenerated database
2013-06-23 14:48:24 +02:00
Lukas Eder
e5650e88a9 [#742] Improve MySQL Stored Procedure support using MySQL 5.5's
INFORMATION_SCHEMA.PARAMETERS dictionary table
2013-06-23 14:48:15 +02:00
Lukas Eder
82f49ed0e1 [#2412] jOOQ Meta does not recognise non-uppercase IN, OUT, INOUT
keywords in MySQL stored procedures - Regenerated schema
2013-06-23 14:15:47 +02:00
Lukas Eder
48a3f2bd2a [#2412] jOOQ Meta does not recognise non-uppercase IN, OUT, INOUT
keywords in MySQL stored procedures
2013-06-23 14:14:33 +02:00
Lukas Eder
be2cc18510 [#2135] Postgres ENUM data type isn't supported correctly, if the
ENUM needs full qualification - Regenerated databases
2013-06-23 13:50:29 +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
2e6c1362c6 [#2500] Error when selecting from YEAR(4) data type in MySQL - Added
failing integration test
2013-06-22 13:20:20 +02:00
Lukas Eder
f1fdfe18ba [#2531] Add integration tests mapping binary(16) to java.util.UUID 2013-06-22 12:24:48 +02:00
Lukas Eder
ca19cb98e9 [#2528] Combining renderFormatted with inlined bind variables will
change bind values when they contain newlines
2013-06-22 11:41:32 +02:00