Commit Graph

2482 Commits

Author SHA1 Message Date
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
Lukas Eder
d10cd42caf [#2413] Suppress warnings in generated code (@SuppressWarnings("all")
doesn't suppress "rawtypes" warnings with javac)
2013-05-03 11:55:56 +02:00
Lukas Eder
8c23dfdbaf [#2413] Generate global object references, too 2013-05-03 11:41:13 +02:00
Lukas Eder
b3fbdb308c [#2427] Add more Javadoc to ResultQuery.fetchResultSet() explaining that
underlying PreparedStatements are closed with ResultSet.close()
2013-05-03 11:13:55 +02:00
Lukas Eder
35149db31b Some Javadoc fixes 2013-05-03 11:12:19 +02:00
Lukas Eder
a611948be1 Some Javadoc fixes 2013-05-03 11:09:33 +02:00
Lukas Eder
b93e8f84d2 [#2430] Add CustomQueryPart for use with plain SQL and other places 2013-05-03 11:04:47 +02:00
Lukas Eder
868b1ac275 [#2429] Added Javadoc 2013-05-03 10:49:27 +02:00
Lukas Eder
65aeeb5ac6 Javadoc fixes 2013-05-03 10:44:25 +02:00
Lukas Eder
7acd547c7b [#2429] Add Row[N].compare(Comparator, XXX), where XXX is any of Row[N],
Record[N], T[N], Field<T[N]>, Select<? extends Record[N]>
2013-05-03 10:37:43 +02:00
Lukas Eder
b4ef723bcf [#2434] Added new public SubqueryComparator 2013-05-03 10:23:46 +02:00