Commit Graph

2492 Commits

Author SHA1 Message Date
보롱킴
fc99bb2fb6 fix AbstractResultQuery.fetchOneMap() NPE bug 2013-05-20 00:52:07 +09: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
2303ec45c6 [#2459] Add Record.resultSet() and Record.close() to handle the
referenced ResultSet's lifecycle
2013-05-10 17:58:49 +02:00
Lukas Eder
fdf8394796 [#2458] Add Cursor.closesAfterFetch() to indicate whether a Cursor
auto-closes the underlying ResultSet after it has fetched all records
2013-05-10 17:56:54 +02:00
Lukas Eder
8479ec8b17 [#1846] Added more Javadoc 2013-05-10 17:27:11 +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
a580bebbfe [#2457] Add Result.resultSet() and Result.close() to handle the
referenced ResultSet's lifecycle
2013-05-10 16:51:40 +02:00
Lukas Eder
af415ba0a0 Parameter rename 2013-05-10 16:47:15 +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
7644056e54 [#2434] Add Field.compare(Comparator, Select) and
Field.compare(Comparator, QuantifiedSelect) to allow for more dynamic
SQL
2013-05-10 13:50:08 +02:00
Lukas Eder
0ab5128d62 [#2434] Merged the internal SubqueryComparator with the public
Comparator. Added a couple of flags indicating whether a Comparator can
be used with subselects / quantifiers
2013-05-10 13:38:38 +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
298cb42d65 [#2443] AbstractStoreQuery.execute() doesn't correctly operate on the
Configuration's ConnectionProvider in SQLite IDENTITY fetching queries
2013-05-09 15:40:31 +02:00
Lukas Eder
2162af594e [#2450] Cannot set precision on TINYINT, SMALLINT, INT, BIGINT data
types - Restored some logic from previous commit
2013-05-09 15:35:19 +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
94238f0157 [#2450] Cannot set precision on TINYINT, SMALLINT, INT, BIGINT data
types
2013-05-09 14:58:27 +02:00
Lukas Eder
6f490e8f92 [#2449] JDBCDatabase doesn't use DataType.length(), precision(), and
scale()
2013-05-09 14:58:06 +02:00
Lukas Eder
5b6759ca54 [#2448] Regenerated schema 2013-05-09 14:24:51 +02:00
Lukas Eder
d3dba89e7d [#2448] DSLContext.meta() returns Table objects for Oracle SYNONYMS,
without providing columns
2013-05-09 14:24:34 +02:00
Lukas Eder
a425d1c9dc [#2448] Regenerated schema 2013-05-09 14:20:43 +02:00
Lukas Eder
cadd425431 [#2448] DSLContext.meta() returns Table objects for Oracle SYNONYMS,
without providing columns
2013-05-09 14:20:23 +02:00
Lukas Eder
2043ebf68d [#2447] Regenerated schema 2013-05-09 14:06:37 +02:00
Lukas Eder
ecc31b6648 [#2447] Tables collected through DSLContext.meta() return duplicate
columns if multi-schema environments contain identical tables
2013-05-09 14:06:01 +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
da3a371a73 [#2445] Let JDBCDatabase guess the SQLDialect from the connection 2013-05-09 12:44:51 +02:00
Lukas Eder
8e939d8bcc [#2310] Add DSL.using(Connection) and DSL.using(Connection,
Settings) which auto-detect the SQLDialect from the jdbc url
2013-05-09 12:43:23 +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
ce52beb115 [#2441] Add DSL.cast(Field<?>, XXX) for increased API consistency 2013-05-05 12:47:16 +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
d5439b468a [#2440] Expose the DataSource contained in the
DataSourceConnectionProvider
2013-05-04 11:19:19 +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
5dc9d7c9eb [#2235] Add Result<?> DSLContext.fetchFromTXT() to allow for loading
results that were exported using Result.format()
2013-05-03 16:59:44 +02:00
Lukas Eder
ec64150cc8 Fixed Javadoc 2013-05-03 16:12:57 +02:00
Lukas Eder
f9ff7508bf [#2323] NullPointerException when calling Schema.getTables() on a meta
schema with SQLite
2013-05-03 16:08:43 +02:00
Lukas Eder
92d26fd221 Pulled up some methods for broader reuse 2013-05-03 15:54:33 +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
2b6c704ca7 Fixed Javadoc 2013-05-03 13:52:30 +02:00