Commit Graph

2759 Commits

Author SHA1 Message Date
Lukas Eder
268ca49173 [#2665] Removed sample listener 2013-08-13 11:38:36 +02:00
Lukas Eder
ef08665ab5 [#2665] Removed DUMMY clause 2013-08-13 11:24:58 +02:00
Lukas Eder
d0a9d76a05 [#2665] Added support for alias and values constructor clause events 2013-08-13 11:18:07 +02:00
Lukas Eder
14fcc1994b [#2665] Added some more Javadocs to Clause 2013-08-12 17:00:11 +02:00
Lukas Eder
70771db510 [#2665] Added support for INSERT .. ON DUPLICATE KEY UPDATE 2013-08-12 16:53:31 +02:00
Lukas Eder
7736d8f043 [#2665] Added test case for INSERT .. RETURNING 2013-08-12 16:34:55 +02:00
Lukas Eder
38f2ef3060 [#2665] Added proper clause events for INSERT .. SELECT 2013-08-12 16:27:19 +02:00
Lukas Eder
094be3cdfb [#2665] Implement SPI for RenderContext and BindContext listening to
allow for custom SQL transformation

 * INSERT statement refactoring to correctly implement clause events.
2013-08-12 16:10:53 +02:00
Lukas Eder
1c4c459076 Fixed MySQL WITH ROLLUP test case. 2013-08-12 15:52:22 +02:00
Lukas Eder
b00e018701 @@sql_mode = 'NO_BACKSLASH_ESCAPES' causes more headaches than it solves 2013-08-12 15:44:31 +02:00
Lukas Eder
86b0fe1e1d Improved SQL rendering - cleanly separate keyword() and sql() calls. 2013-08-12 14:52:42 +02:00
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
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
d7814ffdbc Added additional date column 2013-08-12 08:55:50 +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
81226bbb3d Merge pull request #2687 from quickwango/patch-1
Fixed the broken link to the milestones
2013-08-09 23:49:59 -07:00
Phillip Schichtel
1c6d891783 Fixed the broken link to the milestones 2013-08-09 20:55:17 +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
d7a5b3e9a0 Formatting fix 2013-08-08 11:35:10 +02:00
Lukas Eder
65ebae22e1 Made newsletter more prominent by adding a social button 2013-08-06 14:46:22 +02:00
Lukas Eder
f6a74c7415 Added news section to the website 2013-08-06 14:27:28 +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
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
0dd9d87e18 Prepare manual for rebranding 2013-08-05 11:54:51 +02:00
Lukas Eder
458306b656 Re-enabled custom social buttons. Added StumbleUpon button 2013-08-03 13:53:47 +02:00
Lukas Eder
a37f0e0b0b Re-enabled custom social buttons. Added StumbleUpon button 2013-08-03 11:40:14 +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
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
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