Commit Graph

1395 Commits

Author SHA1 Message Date
Lukas Eder
86b0fe1e1d Improved SQL rendering - cleanly separate keyword() and sql() calls. 2013-08-12 14:52:42 +02:00
Lukas Eder
988979c172 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added INSERT clause implementation draft.
2013-08-12 11:26:51 +02:00
Lukas Eder
e156ccd529 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Fixed various DUMMY references.
2013-08-12 08:53:02 +02:00
Lukas Eder
7ef726a570 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Fixed various DUMMY references.
2013-08-08 18:25:52 +02:00
Lukas Eder
4a279450d5 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ/src/main/java/org/jooq/Clause.java
2013-08-08 17:54:10 +02:00
Lukas Eder
7d7083ada0 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added tests for NOT predicate
2013-08-08 17:53:10 +02:00
Lukas Eder
a79b7bfeb0 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added tests for IN predicate
 * Added tests for EXISTS predicate
2013-08-08 17:47:46 +02:00
Lukas Eder
1a5d8e13c3 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Fixed failing unit test for CONDITION_BETWEEN_SYMMETRIC
 * Changed clauses() method to accept Context argument
2013-08-08 17:23:13 +02:00
Lukas Eder
dd2040093a [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added unit tests for CONDITION clauses
 * Added failing unit test for CONDITION_BETWEEN_SYMMETRIC
2013-08-08 17:10:00 +02:00
Lukas Eder
ca106a5dfa Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ/src/test/java/org/jooq/test/VisitContextTest.java
2013-08-08 16:49:23 +02:00
Lukas Eder
c8f2ac0b14 [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Fixed semantics of UPDATE clauses
 * Added an UPDATE WHERE test case
2013-08-08 16:46:17 +02:00
Lukas Eder
c2473cd0ec [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * Added clauses for FIELD_REFERENCE, TABLE_REFERENCE, etc.
 * Implemented UPDATE clauses
 * Changed QueryPartInternal to allow for specifying a Clause[] array
per QueryPart
 * Added a mechanism to omit clause event emission
2013-08-08 16:36:53 +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
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
6f4c232de9 [#2010] Add listener API to Record / UpdatableRecord
* Fixed bad RecordContext content
2013-08-05 15:39:09 +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
8cb6475d42 Fixed Javadoc 2013-08-05 13:40:34 +02:00
Lukas Eder
21df9be71f Removed unused method 2013-08-05 13:30:32 +02:00
Lukas Eder
6dcfca391b [#2665] Add a DefaultVisitListener implementation for convenience 2013-08-05 12:05:37 +02:00
Lukas Eder
9a4b4a00ff [#2010] Add a DefaultRecordListener implementation for convenience 2013-08-05 12:04:38 +02:00
Lukas Eder
1e5e4f5bf0 [#2665] [#2667] [#2676] First API and implementation draft
* [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation
* [#2667] Add org.jooq.Clause and let org.jooq.Context listen on
start(Clause) and end(Clause) events - First API and implementation
draft
* [#2676] Add QueryPartInternal.clause() to allow for QueryParts to
return Clause information to org.jooq.Context
2013-08-02 19:40:15 +02:00
Lukas Eder
76559c9cb8 Fixed Javadoc 2013-08-01 16:44:13 +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
a716f33675 [#2662] Deprecate also implementation method 2013-07-31 16:50:56 +02:00
Lukas Eder
867dc04594 [#2662] Deprecate the internal method DSLContext.bind(QueryPart,
PreparedStatement)
2013-07-31 16:49:52 +02:00
Lukas Eder
637488a5ec [#2010] Add listener API to Record / UpdatableRecord - First API draft 2013-07-31 11:44:43 +02:00
Lukas Eder
baa109d32e Fixed Javadoc: Removed reference to obsolete term "main unique key" 2013-07-31 11:44:09 +02:00
Lukas Eder
bb496f662b Removed confusing Javadoc message 2013-07-31 11:03:20 +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
382301519b Replaced bad nbsp characters 2013-07-11 14:57:51 +02:00
Lukas Eder
a768462811 Javadoc fix 2013-07-11 00:32:48 +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
53258e02d1 [#2542] Add a Keyword type and DSL.keyword(String) to construct it 2013-07-04 12:37:21 +02:00
Lukas Eder
5787a77808 Javadoc fix 2013-07-04 12:18:56 +02:00
Lukas Eder
690a17277d [#1079] Add support for Oracle's FLASHBACK QUERY clause 2013-07-04 12:16:32 +02:00
Lukas Eder
80a107ca99 Reorganised methods in org.jooq.Table 2013-07-04 10:52:46 +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
297db8be93 [#2581] Deprecate fetchLater() and FutureResult<R> 2013-07-04 09:39:10 +02:00
Lukas Eder
723c787ca9 [#2492] Fixed MS Access identifier quoting 2013-07-03 16:52:01 +02:00
Lukas Eder
419c3e21a3 Fixed formatting 2013-07-03 16:14:43 +02:00
Lukas Eder
088160e24d [#2593] Add Meta.getPrimaryKeys() 2013-07-02 21:59:41 +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
8d45dc035a [#2586] Bad SQL dialect referenced from CUBRID's package-info.java 2013-07-02 20:54:19 +02:00
Lukas Eder
c59bfba377 [#2586] Bad SQL dialect referenced from ASE's package-info.java 2013-07-02 20:53:33 +02:00
Lukas Eder
2932e5855a Javadoc fixes 2013-07-02 19:47:41 +02:00
Lukas Eder
9c2e8d4373 [#1903] Duplicate Query construction API between DSLContext and DSL 2013-07-02 19:47:23 +02:00
Lukas Eder
c5a1114ccd Minor Javadoc improvements 2013-07-02 19:10:19 +02:00
Lukas Eder
66c71583f3 Release 3.2.0-SNAPSHOT 2013-07-02 10:52:33 +02:00