Lukas Eder
5827083e4e
Release 3.1.0
2013-06-30 15:55:46 +02:00
Lukas Eder
4fd408c5e2
[ #2464 ] Fixed this also for the instance table model
2013-06-30 15:54:03 +02:00
Lukas Eder
9dd5793e47
[ #963 ] Fixed SQL Server's TINYINT data type
2013-06-30 14:01:35 +02:00
Lukas Eder
3c09edf60a
[ #963 ] Fixed SQL Server's TINYINT data type
2013-06-30 13:53:28 +02:00
Lukas Eder
f3df95de3e
[ #552 ] Fixed DefaultDataType's type lookup for casting
2013-06-30 13:53:08 +02:00
Lukas Eder
d74988011f
Ignore unreliable Eclipse resource leaks warnings
2013-06-30 13:18:57 +02:00
Lukas Eder
5997d071b2
[ #2470 ] Improved Javadoc to explain store(), insert(), and update()
...
behaviour with respect to changed() flags
2013-06-29 18:52:25 +02:00
Lukas Eder
25f03028a5
[ #2569 ] Error when rendering SQL Server procedures with
...
Settings.renderSchema == false
2013-06-29 18:19:44 +02:00
Lukas Eder
982e3c3107
[ #2311 ] [ #2571 ] Add Configuration.recordMapperProvider() to override
...
jOOQ's internal default ReflectionMapper
* [#2311 ] Add Configuration.recordMapperProvider() to override jOOQ's
internal default ReflectionMapper
* [#2571 ] Add a new RecordType<R extends Record> type to make up for the
missing recursive type definition on Record
2013-06-29 18:02:17 +02:00
Lukas Eder
0f725a9f14
Fixed some warnings
2013-06-29 16:18:48 +02:00
Lukas Eder
fc54860099
[ #2058 ] Add support for the MariaDB database
2013-06-28 13:34:35 +02:00
Lukas Eder
3f649f9de1
[ #2562 ] Bad SQLDialect reference in Oracle and MySQL package-info.java
2013-06-28 12:31:59 +02:00
Lukas Eder
bcc3bf30c3
[ #2562 ] Bad SQLDialect reference in MySQL package-info.java
2013-06-28 12:31:03 +02:00
Lukas Eder
4605c9a476
[ #2311 ] Added an API draft for the RecordMapperProvider
2013-06-28 12:13:55 +02:00
Lukas Eder
123c557fbd
Reordered methods in Configuration
2013-06-23 17:27:34 +02:00
Lukas Eder
591afd7fcb
[ #2135 ] Postgres ENUM data type isn't supported correctly, if the
...
ENUM needs full qualification
2013-06-23 13:50:07 +02:00
Lukas Eder
ca19cb98e9
[ #2528 ] Combining renderFormatted with inlined bind variables will
...
change bind values when they contain newlines
2013-06-22 11:41:32 +02:00
Lukas Eder
1fe63caa1e
[ #2532 ] Let batch executions debug-log executed queries
2013-06-22 10:11:26 +02:00
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
c1387f5779
Don't publish new annotations (yet)
2013-06-21 20:40:14 +02:00
Lukas Eder
4472a06174
[ #2527 ] Add org.jooq.tools.jdbc.DefaultResultSet to provide a
...
default ResultSet delegation implementation
2013-06-15 10:32:46 +02:00
Lukas Eder
32913c54ec
Javadoc fixes
2013-06-15 10:24:33 +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
4f62414b2a
Removed unused rsIndex property
2013-06-14 17:39:45 +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
729a933cf0
[ #2521 ] Add Record.fields(Field<?>...), Record.fields(String...),
...
Record.fields(int...) to extract Field<?>[] from a Record
2013-06-14 11:03:00 +02:00
Lukas Eder
5d4b335573
[ #2521 ] Add Row.fields(Field<?>...), Row.fields(String...),
...
Row.fields(int...) to extract Field<?>[] from a row
2013-06-14 10:58:01 +02:00
Lukas Eder
7c7504e9ff
Fixed Javadoc
2013-06-14 10:17:31 +02:00
Lukas Eder
f643fd8293
[ #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:21 +02:00
Lukas Eder
4b770fae50
[ #2506 ] SQLDialectNotSupportedException on DSL.inline(T, Class),
...
when jOOQ's internals are not (yet) properly initialised
2013-06-09 16:01:15 +02:00
Lukas Eder
55c906a346
Release 3.1.0-SNAPSHOT
2013-06-09 12:50:37 +02:00
Lukas Eder
ce7a71b346
[ #1846 ] [ #2265 ] Reverted changes for 3.1
2013-06-05 09:42:26 +02:00
Lukas Eder
6f6dad4bf3
[ #2499 ] Add JDBCUtils.safeClose(Connection)
2013-06-02 19:04:23 +02:00
Lukas Eder
ea9cead111
Fixed Javadoc
2013-06-02 19:03:31 +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
1ba458e18e
[ #2494 ] Possible null pointer passed to ConnectionProvider.release()
2013-05-31 15:07:59 +02:00
Lukas Eder
3da2486e10
Remove tweaking of auto commit in AbstractRoutine
2013-05-31 14:40:28 +02:00
Lukas Eder
45f1a65729
[ #2496 ] Added missing @Support annotations
2013-05-31 13:36:36 +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
de871db819
[ #2485 ] Allow for treating Field<Boolean> as Condition
2013-05-25 12:16:40 +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
c5d74cabc4
[ #2477 ] Some databases cannot bind strings as numbers (e.g. Postgres)
2013-05-24 15:32:42 +02:00
Lukas Eder
824f5d4eba
[ #963 ] [ #2477 ] Map SQL Server TINYINT to UByte
2013-05-24 15:03:55 +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
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
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
c958209a9d
[ #2466 ] Add a public DefaultDSLContext implementation that can be used
...
by users to override the default behaviour
2013-05-22 20:22:26 +02:00
Lukas Eder
f53ecbcd67
[ #1737 ] First annotation draft
2013-05-22 20:15:57 +02:00
Lukas Eder
778dcf823e
[ #2469 ] NullPointerException in AbstractResultQuery.fetchOneArray()
2013-05-20 20:42:00 +02:00
Lukas Eder
f0cc331393
Fixed whitespace
2013-05-20 20:38:59 +02:00
Lukas Eder
bd8a96714d
Merge branch 'master' of git@github.com:jOOQ/jOOQ.git
2013-05-20 20:34:39 +02:00
보롱킴
fc99bb2fb6
fix AbstractResultQuery.fetchOneMap() NPE bug
2013-05-20 00:52:07 +09:00
Lukas Eder
f1754f5ffa
[ #2468 ] API bug: MergeNotMatchedSetStep.set(Field, Select) returns
...
MergeMatchedSetMoreStep instead of MergeNotMatchedSetMoreStep
2013-05-18 16:38:27 +02:00
Lukas Eder
163a60053f
Added missing @Support annotations to DeleteConditionStep
2013-05-18 11:25:21 +02:00
Lukas Eder
013fafbeae
[ #1737 ] Annotate API with grammar information and generate BNF
...
pseudo-notation for the manual - Added annotations
2013-05-17 19:41:35 +02:00
Lukas Eder
8718afb609
Fixed formatting
2013-05-17 09:34:03 +02:00
Lukas Eder
a43082d1aa
[ #2265 ] Removed delete again, for now. This seems to be very complex to
...
get right.
2013-05-12 10:34:46 +02:00
Lukas Eder
dce7021ca6
[ #2265 ] Logging was moved to CursorResultSet
2013-05-11 12:47:15 +02:00
Lukas Eder
b729a58a07
[ #2265 ] Added prototype implementation for Record.delete()
2013-05-11 12:45:36 +02:00
Lukas Eder
9946b236e7
[ #2265 ] Added logging to CursorImpl.CursorResultSet.updateXXX() methods
2013-05-11 12:44:38 +02:00
Lukas Eder
e33b56a863
[ #2265 ] Let UpdatableRecord.refresh() use ResultSet, if available
2013-05-11 11:14:46 +02:00
Lukas Eder
7032af7c79
Refactored some reusable code
2013-05-11 10:30:46 +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
342c769309
Minor optimisation: Avoid &= and |= where possible
2013-05-11 09:46:46 +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
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
1665723473
[ #2355 ] [ #2357 ] Add support for Postgres' TRUNCATE [...] CASCADE
...
statement
2013-05-10 12:29:50 +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
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
d3dba89e7d
[ #2448 ] DSLContext.meta() returns Table objects for Oracle SYNONYMS,
...
without providing columns
2013-05-09 14:24:34 +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
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
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
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