Commit Graph

1340 Commits

Author SHA1 Message Date
Lukas Eder
6461ce5b87 [#2703] SQLDialect.getNameLC() and getNameUC() are not NPE-safe 2013-08-19 18:03:13 +02:00
Lukas Eder
9ec89ff33b [#2702] Add DataType.defaulted() and DataType.nullable() 2013-08-19 14:46:25 +02:00
Lukas Eder
8d685897be Fixed Javadoc 2013-08-19 14:37:36 +02:00
Lukas Eder
2eb4fcd8f2 [#2591] Result.intoGroups() and similar methods create key Records with
changed=true
2013-08-19 14:31:32 +02:00
Lukas Eder
09eb2de5f0 [#2628] Add missing Javadoc to DefaultDSLContext 2013-08-19 13:52:40 +02:00
lukaseder
7227e1b313 Merge branch 'master' of https://github.com/jOOQ/jOOQ.git 2013-08-18 20:59:37 +02:00
lukaseder
f298c4addc [#2701] Document the fact that jOOQ sets changed flags to true, even if
Record.setValue() sets the value already present in the record
2013-08-18 20:58:31 +02:00
Lukas Eder
66301d6574 [#2665] Added example for INSERT query transformation
* Added example integration test for INSERT query transformation
 * Enhanced VisitContext to enable patching of QueryParts while
traversing the tree
2013-08-16 14:00:23 +02:00
Lukas Eder
7e49dc6c26 [#2696] Provide default implementation for CustomQueryPart.bind() (for
all Custom QueryParts)
2013-08-16 13:03:13 +02:00
Lukas Eder
c17b1ce738 [#2665] Fixed Oracle MERGE regressions 2013-08-15 18:26:17 +02:00
Lukas Eder
55922a354b [#2665] Added support for the MERGE clause 2013-08-15 17:55:14 +02:00
Lukas Eder
5bf3422c9b Added some Javadoc 2013-08-15 17:26:26 +02:00
Lukas Eder
1166e2e183 [#2665] Added support for the TRUNCATE statement clause 2013-08-15 15:09:59 +02:00
Lukas Eder
5a492625c9 [#2665] [#2694] [#2695] BindContext traversal is not yet supported 2013-08-15 14:56:03 +02:00
Lukas Eder
01831122ac [#2665] Added support for the DELETE statement's clauses 2013-08-15 14:55:14 +02:00
Lukas Eder
a3afd79816 [#2592] Qualified names created using DSL.name(String...) should not
render null or empty string parts
2013-08-15 13:38:16 +02:00
Lukas Eder
43a9c1215f [#2665] Fixed TABLE_ALIAS emission by TableImpl, if it is an aliased
table
2013-08-15 11:35:54 +02:00
Lukas Eder
446d49d767 [#2665] Added more Javadocs 2013-08-15 11:12:51 +02:00
Lukas Eder
4d9604fb33 Fixed excess rendered whitespace 2013-08-15 10:02:40 +02:00
Lukas Eder
a207faef0a [#2689] Expose a DAO's internal RecordMapper through DAO.mapper() 2013-08-14 09:13:43 +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
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
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
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
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