Commit Graph

2465 Commits

Author SHA1 Message Date
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
Lukas Eder
626b4aad5c [#2429] Factored out some common logic in Xtend generator for Rows 2013-05-03 10:09:58 +02:00
Lukas Eder
78c4cf18e5 [#2432] Manual refers to a package-private DefaultConfiguration
constructor
2013-05-03 09:48:05 +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
2e2d76e81d [#2299] Fixed some issues related to Sybase's unsupported ResultSet
holdability
2013-05-01 20:43:04 +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
ae56ed55c7 [#2395] Simulate row value expression IN predicate using EXISTS -
Added Utils.array(T...)
2013-05-01 19:58:24 +02:00
Lukas Eder
3c15c2eda8 [#2395] Simulate row value expression IN predicate using EXISTS -
Improved Xtend code generation for Row[N] vs. RowN
2013-05-01 19:57:59 +02:00
Lukas Eder
1bc0b4ab66 [#2395] Simulate row value expression IN predicate using EXISTS 2013-05-01 19:24:44 +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
891920729f [#2424] Integration-test jOOQ with the SQLite xerial driver 2013-05-01 18:14:21 +02:00
Lukas Eder
21569fda4f Release 3.1.0-SNAPSHOT 2013-05-01 18:04:58 +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
c49763fd6f [#2236] Add DSLContext.batch(String...) and batch(String, Object[]...)
to easily create batch statements from SQL strings
2013-05-01 17:04:04 +02:00
Lukas Eder
fff27acbeb [#2426] Add DSLContext.batch(Query, Object[]...) as a convenience for
calling batch(Query).bind(Object...).bind(Object...)
2013-05-01 16:54:21 +02:00
Lukas Eder
5c196c57e9 Some Javadoc fixes 2013-05-01 15:26:57 +02:00