Lukas Eder
c7a068def2
[ #2535 ] Convert.convert(Object, Class) should support simple casting
2013-06-22 09:27:36 +02:00
Lukas Eder
b8371015f7
[ #1952 ] Add support for SQL Server OPTION (...) query hints
2013-06-21 22:55:40 +02:00
Lukas Eder
79950eef77
[ #1885 ] Add test to count opening and closing of Statements and
...
ResultSets by jOOQ
2013-06-15 10:39:00 +02:00
Lukas Eder
e718d81204
[ #1885 ] [ #2523 ] Statement.close() may be called upon previously
...
closed statements
* [#1885 ] Add test to count opening and closing of Statements and
ResultSets by jOOQ
* [#2523 ] Statement.close() may be called upon previously closed
statements
2013-06-14 18:18:09 +02:00
Lukas Eder
25a7f794b3
[ #2519 ] Add Record.from(Object, Field<?>...) from(Object,
...
String...), from(Object, int...) to copy only a select set of values
from a POJO, Array, Map
2013-06-14 11:16:13 +02:00
Lukas Eder
5d327a04ab
[ #2502 ] [ #2515 ] Code generation fixes - Regenerated test data
...
* [#2502 ] Code generation fails to generate valid java for stored
procedures that accept parameters named configuration.
* [#2515 ] Compilation errors when generating code for artefacts that
differ only by a trailing underscore(s): A and A_ and A__
2013-06-10 21:43:52 +02:00
Lukas Eder
69518e2971
[ #2502 ] [ #2515 ] Code generation fixes - Added test artefacts
...
* [#2502 ] Code generation fails to generate valid java for stored
procedures that accept parameters named configuration.
* [#2515 ] Compilation errors when generating code for artefacts that
differ only by a trailing underscore(s): A and A_ and A__
2013-06-10 21:42:56 +02:00
Lukas Eder
297a6ae98c
[ #2509 ] Expose CHECK constraints in jOOQ-meta
2013-06-09 14:11:38 +02:00
Lukas Eder
ce7a71b346
[ #1846 ] [ #2265 ] Reverted changes for 3.1
2013-06-05 09:42:26 +02:00
Lukas Eder
ec1b840cb5
[ #552 ] [ #2423 ]
...
- Add SQLDialect.family() to group several SQLDialect versions of
the same RDBMS
- Add support for SQL Server 2012 native OFFSET .. FETCH clause
2013-06-01 19:19:13 +02:00
Lukas Eder
1c7cbc1089
[ #2496 ] Add support for SQL Server 2012 sequences
2013-05-31 13:31:30 +02:00
Lukas Eder
7c927ad2a3
[ #2022 ] Add support for SQL Server 2012 windowing clauses in window
...
functions
2013-05-31 12:10:08 +02:00
Lukas Eder
20acc9bb4b
Regenerated Oracle3 schema
2013-05-26 08:50:45 +02:00
Lukas Eder
ba7c34db69
[ #2404 ] Cannot combine <dateAsTimestamp/> with <forcedType/> if both
...
match - Regenerated schema
2013-05-26 08:50:08 +02:00
Lukas Eder
6ace1f332d
[ #2404 ] Cannot combine <dateAsTimestamp/> with <forcedType/> if both
...
match
2013-05-26 08:49:06 +02:00
Lukas Eder
de871db819
[ #2485 ] Allow for treating Field<Boolean> as Condition
2013-05-25 12:16:40 +02:00
Lukas Eder
64e48ea499
[ #2461 ] Generator Encoding Error for Database-Objects with Unicode-Names
2013-05-24 19:56:44 +02:00
Lukas Eder
b938123edd
[ #2461 ] Added a test table containing unicode characters
2013-05-24 19:50:12 +02:00
Lukas Eder
8026481b95
Fixed test for Derby
2013-05-24 19:22:50 +02:00
Lukas Eder
621e3fdbf0
Avoid Derby's limit of "complexity", when parsing SQL statements
2013-05-24 18:50:58 +02:00
Lukas Eder
2000045f81
Skip a test in Derby, which fails because of
...
https://issues.apache.org/jira/browse/DERBY-6228
2013-05-24 18:42:13 +02:00
Lukas Eder
42cb667054
Skip a test in Derby, which fails because of
...
https://issues.apache.org/jira/browse/DERBY-6228
2013-05-24 18:39:31 +02:00
Lukas Eder
92a157b341
Upgraded Derby to 10.10
2013-05-24 18:39:14 +02:00
Lukas Eder
4a2785a15c
[ #2477 ] Regenerated databases
2013-05-24 17:20:29 +02:00
Lukas Eder
1086f28c37
[ #2477 ] MySQL's unsigned types cannot be used in other dialects
2013-05-24 17:19:37 +02:00
Lukas Eder
23514f99b5
[ #2478 ] Regenerated ingres database
2013-05-24 16:47:55 +02:00
Lukas Eder
909e5aef53
[ #2478 ] IngresDatabase erroneously joins IIINDEXES to get constraint
...
columns, rather than using IIKEYS
2013-05-24 16:46:57 +02:00
Lukas Eder
79a97a82ae
[ #963 ] Regenerated SQL Server database
2013-05-24 15:04:30 +02:00
Lukas Eder
824f5d4eba
[ #963 ] [ #2477 ] Map SQL Server TINYINT to UByte
2013-05-24 15:03:55 +02:00
Lukas Eder
58f034837d
[ #965 ] Regenerated Sybase database
2013-05-24 11:33:35 +02:00
Lukas Eder
ae12b6eec7
[ #965 ] [ #2477 ] Add support for Sybase SQL Anywhere unsigned number types
2013-05-24 11:33:01 +02:00
Lukas Eder
2800ba6053
Removed Espen's config files
2013-05-24 11:32:13 +02:00
Lukas Eder
a8f379f698
[ #2477 ] Unsigned types fail at run-time under H2 dialect - Fixed this
...
for H2
2013-05-24 10:31:58 +02:00
Lukas Eder
303561db4e
[ #2477 ] Added failing test case
2013-05-24 10:12:41 +02:00
Lukas Eder
9512ff8a68
[ #706 ] [ #2324 ] Reverting workarounds for Postgres JDBC driver's
...
inability to fetch a ref cursor if connection.getAutoCommit() == true
2013-05-22 21:46:18 +02:00
Lukas Eder
9d9fa20b3b
[ #2464 ] Skip tests for some databases
2013-05-22 21:26:20 +02:00
Lukas Eder
d1458dfea4
[ #2464 ] Bad SQL rendered from DELETE statements with aliased tables
2013-05-22 21:12:05 +02:00
Lukas Eder
b729a58a07
[ #2265 ] Added prototype implementation for Record.delete()
2013-05-11 12:45:36 +02:00
Lukas Eder
e33b56a863
[ #2265 ] Let UpdatableRecord.refresh() use ResultSet, if available
2013-05-11 11:14:46 +02:00
Lukas Eder
c6ab1f338a
[ #2265 ] Added test cases to ensure that Record.refresh() doesn't execute
...
a query, if a ResultSet is available
2013-05-11 10:54:49 +02:00
Lukas Eder
18a4c2f978
Added another test case
2013-05-11 10:35:14 +02:00
Lukas Eder
2df2a478a6
[ #2265 ] Added Record.refresh(Field...) and more test cases
2013-05-11 10:23:54 +02:00
Lukas Eder
712a0f2f62
[ #2265 ] Add Result.store(), delete(), refresh(), to allow for
...
batch-synchronisation of Records contained in a Result - Prototype
implementation
2013-05-11 10:11:47 +02:00
Lukas Eder
2cedb6c07a
[ #1846 ] Skip tests for SQLite, which supports only TYPE_FORWARD_ONLY
...
cursors
2013-05-10 18:38:14 +02:00
Lukas Eder
433012e48b
[ #1846 ] Added more integration tests related to Record.changed() and
...
Record.original()
2013-05-10 18:16:43 +02:00
Lukas Eder
c7b3782a69
[ #1846 ] Added more test cases
2013-05-10 17:59:23 +02:00
Lukas Eder
cfce76a651
[ #1846 ] Add ResultQuery.keepResultSet() to indicate whether to keep
...
references to a potentially updatable JDBC ResultSet from Result
2013-05-10 16:57:18 +02:00
Lukas Eder
6fd9704dc0
Added test utility method
2013-05-10 16:46:33 +02:00
Lukas Eder
2d2aee8561
Fixed "unbalanced" test case
2013-05-10 14:07:42 +02:00
Lukas Eder
6558cd8ea1
Improved test statistics logging
2013-05-10 14:06:33 +02:00
Lukas Eder
dcf5d6005a
Fixed broken test
2013-05-10 13:56:05 +02:00
Lukas Eder
503b986f11
[ #2355 ] Add support for Postgres / HSQLDB's TRUNCATE [...] RESTART /
...
CONTINUE IDENTITY
2013-05-10 12:49:51 +02:00
Lukas Eder
32b6b787e6
Make testInsertIdentity() more robust, do not rely on assumptions
...
about initial identity values in test runs
2013-05-10 12:48:36 +02:00
Lukas Eder
1665723473
[ #2355 ] [ #2357 ] Add support for Postgres' TRUNCATE [...] CASCADE
...
statement
2013-05-10 12:29:50 +02:00
Lukas Eder
e66d2d6de6
Regenerated H2 and Oracle schemas
2013-05-09 16:28:35 +02:00
Lukas Eder
dcd2390d5c
Fixed a regression introduced by a recent change
2013-05-09 16:12:06 +02:00
Lukas Eder
3237426f3e
Regenerated H2 and Oracle Schemas
2013-05-09 15:00:48 +02:00
Lukas Eder
da5026373a
[ #2450 ] Regenerated schema
2013-05-09 14:58:40 +02:00
Lukas Eder
5b6759ca54
[ #2448 ] Regenerated schema
2013-05-09 14:24:51 +02:00
Lukas Eder
a425d1c9dc
[ #2448 ] Regenerated schema
2013-05-09 14:20:43 +02:00
Lukas Eder
2043ebf68d
[ #2447 ] Regenerated schema
2013-05-09 14:06:37 +02:00
Lukas Eder
b8d6ea4729
[ #2445 ] Generated jdbcoracle schemas
2013-05-09 13:45:50 +02:00
Lukas Eder
4ce94b7eb7
[ #2445 ] JDBCDatabase doesn't recognise Oracle's VARCHAR2 data type (and
...
other vendor-specific data types)
2013-05-09 13:45:22 +02:00
Lukas Eder
3f9e7131b8
[ #2445 ] Re-generate jdbc-generated classes
2013-05-09 12:45:09 +02:00
Lukas Eder
a1f558a69b
[ #2446 ] Add JDBCUtils.dialect(Connection) to "guess" the jOOQ SQLDialect
...
from a JDBC Connection
2013-05-09 12:34:07 +02:00
Lukas Eder
de3458f0d5
[ #1373 ] Add <T> Field<T> Factory.coerce(Field<?>, DataType<T>) and
...
similar methods, to coerce a field to a given data type (as opposed to
casting it)
2013-05-05 12:43:46 +02:00
Lukas Eder
f5d8bf06bf
[ #2235 ] Add Result<?> DSLContext.fetchFromTXT() to allow for loading
...
results that were exported using Result.format() - Added test case
2013-05-03 17:04:09 +02:00
Lukas Eder
392c2e158c
[ #2291 ] Add DSLContext.fetchAny(Table, Condition) method and others
2013-05-03 15:28:16 +02:00
Lukas Eder
aa74f02875
[ #2414 ] [ #2436 ] [ #2437 ] Added ParamType
...
- [#2414 ] Add Setting to influence parameter rendering (indexed,
named, inlined)
- [#2436 ] Add Query.getSQL(ParamType) and deprecate
Query.getSQL(boolean)
- [#2437 ] Add RenderContext.paramType() and deprecate
RenderContext.inline() and .namedParams()
2013-05-03 15:10:40 +02:00
Lukas Eder
6350d73134
[ #2395 ] [ #2428 ] Row value expression simulation.
...
- Simulate row value expression IN predicate using EXISTS
- Simulate row value expression comparison predicates using EXISTS
2013-05-01 21:31:05 +02:00
Lukas Eder
f67bafd609
SQLite doesn't support result set concurrency and type. Skip tests
2013-05-01 20:37:56 +02:00
Lukas Eder
ed860507cf
[ #2339 ] Support CUBRID 9.1's new features - Document support for
...
NTILE(), LEAD(), LAG() window functions
2013-05-01 18:40:21 +02:00
Lukas Eder
46a4c431f7
[ #2339 ] Support CUBRID 9.1's new features - Upgraded CUBRID to 9.1
2013-05-01 18:32:04 +02:00
Lukas Eder
dae1576809
[ #2339 ] Support CUBRID 9.1's new features - Upgraded CUBRID to 9.1
2013-05-01 18:31:33 +02:00
Lukas Eder
a8def97d1e
[ #2299 ] Allow for setting ResultSet flags (e.g.
...
ResultSet.TYPE_SCROLL_INSENSITIVE through
ResultQuery.resultSetConcurrency(), resultSetType(),
resultSetHoldability()
2013-05-01 17:57:28 +02:00
Lukas Eder
7c735242c0
Removed bad test code
2013-05-01 12:28:27 +02:00
Lukas Eder
b80451c42e
[ #2424 ] Integration-test jOOQ with the SQLite xerial driver
2013-05-01 12:08:42 +02:00
Lukas Eder
7822c93e64
[ #2416 ] Add Result.intoXML(org.xml.sax.ContentHandler) to generate a SAX
...
event stream from a jOOQ result
2013-04-28 23:23:20 +02:00
Lukas Eder
dcdac6f7e8
[ #1520 ] Handle Ingres', SQLite, SQL Server's, Sybase ASE's limitations
...
of 1024, 999, 2100 or 2000 maximum bind values per query
2013-04-28 18:52:36 +02:00
Lukas Eder
c5df4f8db9
[ #2401 ] Bad package name generated when <packageName/> contents are not
...
trimmed
2013-04-28 13:07:20 +02:00
Lukas Eder
106b1b60dc
[ #2404 ] Cannot combine <dateAsTimestamp/> with <forcedType/> if both
...
match - Regenerated schema
2013-04-12 21:16:04 +02:00
Lukas Eder
ded80b7736
[ #2404 ] Cannot combine <dateAsTimestamp/> with <forcedType/> if both
...
match - Added test configuration
2013-04-12 21:15:53 +02:00
Lukas Eder
724e8035bf
Release 3.0.0-RC3: Regenerated all schemas
2013-04-12 16:28:30 +02:00
Lukas Eder
dc7bd7b56f
Release 3.0.0-RC3: Fixed broken test
2013-04-12 15:00:33 +02:00
Lukas Eder
3882a1ab99
Release 3.0.0-RC3: Comment failing test case for well-known issue
2013-04-12 14:46:10 +02:00
Lukas Eder
5dbf025c13
[ #2385 ] fetchOne() and fetchLazy() don't terminate the ExecuteListener
...
life cycle when an exception occurs - Added failing test case
2013-04-12 12:56:29 +02:00
Lukas Eder
ebca8adaa2
[ #2388 ] Replace Configuration's List<ExecuteListener> with
...
ExecuteListenerProvider[] to simplify correct and thread-safe client
implementations
2013-04-12 12:00:30 +02:00
Lukas Eder
3f1e2af10a
[ #2399 ] Remove support for the USE statement
2013-04-12 10:05:32 +02:00
Lukas Eder
8d9a40ad19
[ #2393 ] Fully qualified name not used for user-defined aggregate
...
function
2013-04-12 09:48:08 +02:00
Lukas Eder
28073c01db
[ #2391 ] Rename dialect-specific Factories [Dialect]Factory to
...
[Dialect]DSL
2013-04-07 22:44:29 +02:00
Lukas Eder
8075996ee0
[ #2390 ] Change Configuration API to reflect jOOQ-style getter / setter
...
naming - Regenerated Oracle schema
2013-04-07 17:32:20 +02:00
Lukas Eder
6b5b1128b3
Changed integration test's "getDialect()" to "dialect()" to be more
...
in line with jOOQ-style getter naming
2013-04-07 17:24:01 +02:00
Lukas Eder
68db0cf354
Renamed AttachableInternal.getConfiguration() to configuration() for
...
consistency
2013-04-07 17:17:27 +02:00
Lukas Eder
15f24d6e39
[ #2390 ] Change Configuration API to reflect jOOQ-style getter /
...
setter naming
2013-04-07 17:06:04 +02:00
Lukas Eder
c3883d2b92
[ #2388 ] Replace Configuration's List<ExecuteListener> with an
...
ExecuteListenerProvider to simplify correct and thread-safe client
implementations
2013-04-07 16:57:23 +02:00
Lukas Eder
869ada72ed
[ #2389 ] Make org.jooq.impl.DefaultConfiguration public -
...
TODO: Make implementation threadsafe!
2013-04-07 15:36:12 +02:00
Lukas Eder
906df54303
[ #2380 ] Rename org.jooq.impl.Factory to org.jooq.DSL - Step 1
...
- Renamed org.jooq.impl.Factory to org.jooq.impl.DSL
2013-04-06 21:17:18 +02:00
Lukas Eder
0183ecab99
[ #2379 ] Replace 3.0-RC1 Executor type by a contextual DSL type
...
constructed from Factory.using() - Step 4
- Renamed ContextDSL to DSLContext
2013-04-06 21:00:50 +02:00
Lukas Eder
20af63d55e
[ #2379 ] Replace 3.0-RC1 Executor type by a contextual DSL type
...
constructed from Factory.using() - Step 3
- Make Executor package-private
- Rename Executor to ContextDSLImpl
- Re-generate H2, MySQL, Oracle databases
- Let DAO reference a Configuration instead of an Executor [#2382 ]
2013-04-06 18:45:45 +02:00
Lukas Eder
e0d80b860e
Fixed test
2013-04-06 18:36:26 +02:00