Commit Graph

1719 Commits

Author SHA1 Message Date
Lukas Eder
df99ce6cee [#3480] Add XXXContext.dialect() and XXXContext.family() for convenience 2014-07-30 10:10:21 +02:00
Lukas Eder
a6c563c66e [#3480] Add XXXContext.dialect() and XXXContext.family() for convenience 2014-07-30 10:02:53 +02:00
Lukas Eder
5bbe2fc026 ... 2014-07-29 18:11:06 +02:00
Lukas Eder
818bebeecb [#2486] Allow to specify precision, scale, length for type-rewrites in <forcedType/> 2014-07-29 16:32:28 +02:00
Lukas Eder
5c7114d1e3 [#561] Add support for the Informix database - Bootstrapping integration tests 2014-07-29 16:32:11 +02:00
Lukas Eder
14aa9bcbc8 [#3477] Add Field.as(Field) to rename a field to another field's name 2014-07-29 14:50:10 +02:00
Lukas Eder
f865f9e72b [#3473] java.lang.IllegalArgumentException: Field (null) is not contained in Row 2014-07-29 13:19:03 +02:00
Lukas Eder
d06084e0be [#3463] Field.in(...) methods shouldn't return trueCondition() or falseCondition() 2014-07-28 11:51:49 +02:00
Lukas Eder
dbf42c7dac [#3462] Field<Object>.in(Object...) can be called with Select<?> arguments, accidentally 2014-07-28 11:42:06 +02:00
Lukas Eder
8a7aa8e254 Update referenced jooq-codegen-3.5.0.xsd version 2014-07-28 10:33:58 +02:00
Lukas Eder
acdb108b83 [#3455] UPDATE .. FROM statement renders incorrect SQL for derived tables or aliased tables 2014-07-25 17:45:07 +02:00
Lukas Eder
c6e1e0da81 [#3442] Implement MockResultSet.getArray() methods 2014-07-23 13:54:29 +02:00
Lukas Eder
d6d24bb829 [#3443] Add support for conversion of values / arrays to the JDBC Array type in Convert 2014-07-23 13:30:37 +02:00
Lukas Eder
a4629b6f5b [#3444] Add MockArray, a mock implementation of JDBC's Array type 2014-07-23 13:15:21 +02:00
Lukas Eder
9fb8f8874f [#3437] QualifiedField does not respect RenderContext.qualify() 2014-07-22 15:44:58 +02:00
Lukas Eder
e023c7177e [#3340] Improved CREATE VIEW API 2014-07-22 15:34:56 +02:00
Lukas Eder
5b20df44ad [#3381] Add support for CREATE TABLE AS statements 2014-07-22 15:12:08 +02:00
Lukas Eder
c4cf343e09 [#3435] Fixed failing unit tests 2014-07-22 14:16:11 +02:00
Lukas Eder
c3fb96c5ff Fixed Javadoc 2014-07-22 14:06:06 +02:00
Lukas Eder
cb3003e9b6 [#3435] Add support for SQL Server's SELECT .. INTO [new table] syntax 2014-07-22 13:01:30 +02:00
Lukas Eder
9371101efe [#3431] Add support for MySQL index hints 2014-07-22 11:53:57 +02:00
Lukas Eder
524155e53a [#3430] JDBC escape syntax is not correctly rendered from plain SQL when plain SQL contains newlines 2014-07-22 11:12:24 +02:00
Lukas Eder
6ada8de4a3 Removed unused legacy method isSelectingRefCursor() 2014-07-21 16:18:04 +02:00
Lukas Eder
1012ab5931 Regenerated all [N] types 2014-07-21 15:37:28 +02:00
Lukas Eder
136928126d [#2626] Added TODO as a reminder to refactor / externalise an existing SQL template 2014-07-18 17:38:45 +02:00
Lukas Eder
51a61bdb19 [#3418] Add DSL.defaultValue(Field<T>) for convenience 2014-07-18 09:27:17 +02:00
Lukas Eder
bc17ca2c48 [#3413] Oracle generated ArrayRecords cannot be constructed through reflection if deprecated flag is set to off 2014-07-16 18:41:32 +02:00
Lukas Eder
2945ea841d [#3412] Add List DSLContext.fetchValues(...) similar to the existing fetchValue(...) methods 2014-07-16 18:38:07 +02:00
Lukas Eder
ade767e1f8 Revert "[#3398] Avoid generating new SQL statements for every bind variable length in Firebird"
This reverts commit c1033c2928.
2014-07-16 15:43:36 +02:00
Lukas Eder
6ab3eeae56 [#3407] DDL statements accepting String names should generate quoted names, not plain SQL 2014-07-16 15:41:54 +02:00
Lukas Eder
baea001d64 [#3340] Add support for CREATE VIEW and DROP VIEW statements 2014-07-16 15:27:07 +02:00
Lukas Eder
6171b31ac9 [#3400] ALTER TABLE generates invalid syntax on Firebird when data types are nullable 2014-07-16 11:02:16 +02:00
Lukas Eder
c1033c2928 [#3398] Avoid generating new SQL statements for every bind variable length in Firebird 2014-07-16 10:48:32 +02:00
Lukas Eder
ae80f5a48d [#3392] Call setAccessible(true) only if really needed 2014-07-16 10:19:18 +02:00
Lukas Eder
54594ba78a [#3360] SQLite regression when using special characters in identifiers 2014-07-11 13:01:29 +02:00
Lukas Eder
1bce6cd55a [#3355] Add support for DROP SEQUENCE statements 2014-07-11 10:54:26 +02:00
Lukas Eder
c742587add [#3389] Add DSLContext.currval(String) and nextval(String) for convenience 2014-07-11 10:32:28 +02:00
Lukas Eder
459317cb0e [#3388] Replace SQL Server's ROW_NUMBER() OVER(ORDER BY @@version) by ORDER BY (SELECT 0) 2014-07-11 10:10:59 +02:00
Lukas Eder
eb7f37f5fd [#2209] Add <T1, T2, .., T[N]> Result<Record[N]<T1, T2, .., T[N]>> Result.into(Field<T1>, Field<T2>, .., Field<T[N]>) in order to transform Results / Records into another type 2014-07-09 16:42:36 +02:00
Lukas Eder
5020e79b9d [#3378] Added integration test workaround 2014-07-02 12:07:32 +02:00
Lukas Eder
6d39b16e73 [#3375] Add support for PostgreSQL table-valued functions 2014-07-02 11:37:48 +02:00
Lukas Eder
bf07108310 [#3363] UpdatableRecord.store() executes UPDATE instead of INSERT after delete(), if Settings.updatablePrimaryKeys is set to true 2014-06-27 15:17:54 +02:00
Lukas Eder
842858441d [#3362] DSLContext.batchStore() executes INSERT if records are batch stores are executed two times in a row on new records, if Settings.updatablePrimaryKeys is set to true 2014-06-27 14:48:00 +02:00
Lukas Eder
71abb74501 [#3356] Deprecate Select.fetchCount() 2014-06-27 14:17:16 +02:00
Lukas Eder
60d62c467d [#3355] Added support for DROP SEQUENCE statements 2014-06-27 13:59:33 +02:00
Lukas Eder
088b5f1a25 [#3359] store() after copy() executes an UPDATE instead of an INSERT, when Settings.updatablePrimaryKeys is set 2014-06-27 13:58:34 +02:00
Lukas Eder
3b2303b658 [#3347] Field.in(T...) should defend against Collection arguments 2014-06-25 11:21:28 +02:00
Lukas Eder
b8ebc74509 Test case for issue reported on user group (doesn't fail) 2014-06-24 17:22:34 +02:00
Lukas Eder
e541e9735e [#1341] Add DSL.using(String url) and other methods that mimick DriverManager.getConnection() 2014-06-23 16:35:56 +02:00
Lukas Eder
1027d8734a [#3346] Allow for omitting the JDBC driver property in the code generator 2014-06-23 15:15:28 +02:00