Commit Graph

1177 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Lukas Eder
e2fc0f16a9 [#1296] [#1846] Added flag to indicate that FOR UPDATE is being
simulated. This is more accurate than just assuming ResultSet
concurrency to be a sufficient indicator
2013-05-01 15:04:51 +02:00
Lukas Eder
2f6e09294c Prevent "expensive" operation of filling in a stack trace for signals 2013-05-01 11:11:59 +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
743bc48c56 Fixed Javadoc 2013-04-28 22:49:56 +02:00
Lukas Eder
fda9c88609 Removed unneeded (and thus, probably buggy) internal copy constructor 2013-04-28 19:05:57 +02:00
Lukas Eder
31f6d133b3 [#2418] RenderContext.data() is not passed on to QueryParts when being
rendered
2013-04-28 19:00:59 +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
c3c87ee6c7 [#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 16:39:31 +02:00
Lukas Eder
7022813865 [#2344] Add a new ControlFlowException that is used to explicitly jump
out of a control flow
2013-04-28 14:26:24 +02:00
Lukas Eder
1532306f73 Release 3.0.0 2013-04-28 11:52:53 +02:00
Lukas Eder
5cd55d732c [#2415] Add Constants.MINOR_VERSION and Constants.FULL_VERSION for
internal and external reuse
2013-04-27 09:06:21 +02:00
Lukas Eder
80cac73310 Fixed compiler warning 2013-04-19 14:07:00 +02:00
Lukas Eder
64995c1836 Fixed grammar in Javadoc 2013-04-14 19:18:11 +02:00
Lukas Eder
d163a1f5d8 [#2407] Fix bad references to pre-3.0 Factory in Javadoc - Fixed
Executor references
2013-04-13 12:46:22 +02:00
Lukas Eder
6dd02378c4 [#2407] Fix bad references to pre-3.0 Factory in Javadoc - Fixed Factory
references
2013-04-13 12:44:06 +02:00
Lukas Eder
d8e18df627 Release 3.0.0-RC3: Javadoc fixes 2013-04-12 15:39:10 +02:00
Lukas Eder
2b59ed047f [#2385] fetchOne() and fetchLazy() don't terminate the ExecuteListener
life cycle when an exception occurs
2013-04-12 14:14:04 +02:00
Lukas Eder
053a728c25 [#2392] Add Configuration.set() methods. They should allow for modifying
a Configuration
2013-04-12 12:21:02 +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
bfbcbca33f [#2396] Add DSL.function(Name, Class, Field...) and
DSL.function(Name, DataType, Field...) to allow for custom,
fully-qualified function references
2013-04-12 09:47:29 +02:00
Lukas Eder
28073c01db [#2391] Rename dialect-specific Factories [Dialect]Factory to
[Dialect]DSL
2013-04-07 22:44:29 +02:00