Commit Graph

2784 Commits

Author SHA1 Message Date
Lukas Eder
70fd391aed [#2603] Add <includeExcludeColumns/> flag to code generation
configuration to indicate that <includes/> and <excludes/> shall also
match column names
2013-08-16 14:55:49 +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
36d017a1b4 Fixed broken test 2013-08-16 11:28:19 +02:00
Lukas Eder
29140dfbc8 [#2665] Enhanced VisitListener example to transform UPDATE and DELETE
statements
2013-08-16 10:57:48 +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
3d050f8106 [#2660] Add some documentation about jOOQ not supporting operator
precedence
2013-08-15 13:34:41 +02:00
Lukas Eder
08aa25a872 [#2665] Force bind variable inlining 2013-08-15 11:36:37 +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
93c1fa376c Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
Conflicts:
	jOOQ-test/src/org/jooq/test/_/testcases/VisitListenerTests.java
2013-08-15 11:15:52 +02:00
Lukas Eder
446d49d767 [#2665] Added more Javadocs 2013-08-15 11:12:51 +02:00
Lukas Eder
34d3a741b1 [#2665] Added test example for SQL transformation with TABLE_ALIAS
involved

 * Added test example
 * Renamed VisitContext.visiting() to queryPart()
 * Added VisitContext.queryParts()
2013-08-15 11:09:18 +02:00
Lukas Eder
3160cf7926 Added TBook_CO_AUTHOR_ID() to test API 2013-08-15 11:07:38 +02:00
Lukas Eder
4d9604fb33 Fixed excess rendered whitespace 2013-08-15 10:02:40 +02:00
Lukas Eder
d7e1811eaa [#2690] Inaccurate runtime xsd versions in 3.1 manual 2013-08-15 09:18:48 +02:00
Lukas Eder
94f1bd7b10 Added XSDs to website module 2013-08-15 09:02:12 +02:00
Lukas Eder
cd25125673 Fixed {codegen-xsd-version} and {runtime-xsd-version} variables 2013-08-15 09:00:07 +02:00
Lukas Eder
51787f2680 Added MailChimp newsletter subscription 2013-08-14 16:46:27 +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
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