Commit Graph

593 Commits

Author SHA1 Message Date
Lukas Eder
79c29febc0 [#1634] Improve the performance of Factory.newRecord() by avoiding
accessing record values by Field rather than by index
2012-07-27 14:00:43 +02:00
Lukas Eder
e2b6b8dc9a [#1633] Improve the performance of CursorImpl.CursorIterator by setting
Record values by index rather than by field
2012-07-27 13:52:50 +02:00
Lukas Eder
9caed2164b [#1632] Improve the performance of various DefaultRenderContext methods,
by locally caching Settings values locally
2012-07-27 13:33:15 +02:00
Lukas Eder
f3f93dfa29 [#1596] Add support for optimistic locking using generated information
about "timestamp" or "version" columns
2012-07-27 12:35:24 +02:00
Lukas Eder
38d98a4ce7 Fixed bad namespace 2012-07-22 18:18:38 +02:00
Lukas Eder
a737b76efb [#1547] Support "optimistic locking" in UpdatableRecord.store() and
delete()
-
Implemented optimistic locking using a Settings property, rather than an
additional API method
2012-07-22 17:19:30 +02:00
Lukas Eder
539e8b2438 Suppress new Eclipse compiler warning 2012-07-22 17:08:44 +02:00
Lukas Eder
b60b575069 [#727] Simulate RPAD and LPAD in SQLite - Some improvements to support
padding by more than one character
2012-07-22 13:01:42 +02:00
Lukas Eder
55dd62d8cf [#727] Simulate RPAD and LPAD in SQLite 2012-07-19 22:17:16 +02:00
Lukas Eder
cc9d960ae1 [#1595] Simulate REPEAT() in SQLite 2012-07-19 22:15:29 +02:00
Lukas Eder
12e6e295c6 [#727] Simulate RPAD and LPAD in SQLite 2012-07-19 21:49:28 +02:00
Lukas Eder
723bff2419 [#1582] Add support for Oracle's ORDER SIBLINGS BY clause, in
combination with CONNECT BY
2012-07-19 20:25:47 +02:00
Lukas Eder
202065f013 [#1586] Add missing constructors taking DataSource to dialect-specific
factories
2012-07-19 19:34:28 +02:00
Lukas Eder
b001a7c73e Updated Eclipse compiler settings to add Eclipse Juno features 2012-07-19 19:19:45 +02:00
Lukas Eder
05a055b2b1 [#1580] Deprecate org.jooq.SchemaProvider 2012-07-15 17:22:05 +02:00
Lukas Eder
d66955743a [#1579] Deprecate org.jooq.Type 2012-07-15 17:12:02 +02:00
Lukas Eder
11b00a20e9 Fixed some warnings 2012-07-15 17:10:11 +02:00
Lukas Eder
033f4f346f [#1553] Add some Javadoc to document the difference between using a
Factory with a Connection or with a DataSource - Added additional
Javadoc to transaction handling delegate methods in FactoryOperations
2012-07-15 16:00:09 +02:00
Lukas Eder
33aa730bfd [#1572] Use Thread.currentThread().getContextClassLoader() to load
ExecuteListener classes as a workaround for experienced class
loading problems when using OSGi
2012-07-15 15:44:55 +02:00
Lukas Eder
15c5df4036 Removed unnecessary throws clause 2012-07-15 15:12:44 +02:00
Lukas Eder
3f85fb95cd [#1547] Support "optimistic locking" in UpdatableRecord.storeLocked()
- Added UpdatableRecord.deleteLocked()
2012-07-15 15:08:12 +02:00
Lukas Eder
add0476024 [#1547] Support "optimistic locking" in UpdatableRecord.store() 2012-07-14 16:14:10 +02:00
Lukas Eder
1c42b05ad6 [#1570] Add Factory.condition(String, QueryPart...) similar to
Factory.field(String, QueryPart...)
2012-07-14 13:43:44 +02:00
Lukas Eder
adf3848278 [#620] Add support for the SQL:2008 standard LIKE_REGEX operator 2012-07-14 13:34:20 +02:00
Lukas Eder
b071472073 [#1566] CONNECT BY related functions are not rendered using the
Settings.getRenderKeywordStyle() property - Fixed two functions, added
test cases for connectByIsLeaf() and connectByIsCycle()
2012-07-14 10:22:34 +02:00
Lukas Eder
4b0b015925 [#1565] Add Factory.connectByRoot(Field<?>) to support the Oracle
CONNECT_BY_ROOT pseudo column
2012-07-13 18:54:14 +02:00
Lukas Eder
28b06d7301 Release 2.5.0-SNAPSHOT 2012-07-11 22:24:09 +02:00
Lukas Eder
c95aa4cb7b [#1552] Generate fetchBy[ColumnName] methods in generated DAO classes 2012-07-11 22:17:52 +02:00
Lukas Eder
5e6d79dea0 [#1553] Add some Javadoc to document the difference between using a
Factory with a Connection or with a DataSource
2012-07-11 21:32:39 +02:00
Lukas Eder
b23b21c82e [#1544] Remove AttachableInternal.getAttachables() - Throw an
UnsupportedOperationException in AbstractQueryPart.getDialect()
2012-07-11 21:07:40 +02:00
Lukas Eder
6a254af74a Release 2.4.0 2012-07-08 17:22:34 +02:00
Lukas Eder
55f6c2c53b [#1542] Simulate the H2 MERGE syntax in other dialects supporting the
SQL standard MERGE statement - GitHub Issue #18
2012-07-06 22:18:08 +02:00
Lukas Eder
dfdbc9536c [#1541] Add support for the H2 MERGE syntax - GitHub Issue #18 2012-07-06 21:02:11 +02:00
Lukas Eder
633d1a43a9 [#1537] Factory.batchStore() renders bad SQL for Postgres. The RETURNING
clause is not allowed in batch INSERTs
2012-07-06 19:18:08 +02:00
Lukas Eder
83bf96a04f Configuration.java contains "import org.hamcrest.Factory" - GitHub Issue
#26
2012-07-06 16:01:21 +02:00
Lukas Eder
caae7fd953 [#1536] Add documentation to the FOR UPDATE OF clause, indicating that
DB2 may have stricter requirements regarding updatability of fields
2012-07-06 15:21:47 +02:00
Lukas Eder
7728053c65 [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet 2012-07-06 14:09:22 +02:00
Lukas Eder
f89c193529 Added section comment anchors: XXX 2012-07-06 14:07:49 +02:00
Lukas Eder
1700d832b7 [#1522] fetch().into(Table) doesn't initialise records correctly, such
that subsequent calls to store() will execute an INSERT, rather than an
UPDATE
2012-07-06 13:27:25 +02:00
Lukas Eder
535a28f9fd [#1529] Factory.batchStore() logs all single statements to DEBUG output.
Find a more accurate log output
2012-07-06 11:52:18 +02:00
Lukas Eder
f4cd5d4528 [#1532] Clarify the lifecycle of Configuration.data in the Javadoc 2012-07-05 19:01:17 +02:00
Lukas Eder
73db018cec [#1521] Expose Connection methods, such as commit(), rollback() and
similar transaction-related methods in Factory - added some DEBUG
logging
2012-07-02 22:21:50 +02:00
Lukas Eder
9eea63db80 [#1253] Avoid JDBC escape syntax for date/time literals - Fixed Unit
tests
2012-07-02 21:14:30 +02:00
Lukas Eder
6f5ac2bb9b [#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet 2012-07-01 16:32:20 +02:00
Lukas Eder
006ec665aa [#1524] Simulate ROW_NUMBER() OVER() in HSQLDB using ROWNUM() 2012-07-01 11:01:17 +02:00
Lukas Eder
577ddd4a60 [#1523] Support ROW_NUMBER() OVER() for the latest version of Derby and
H2, which support it
2012-07-01 10:49:38 +02:00
Lukas Eder
71588514ff [#1253] Avoid JDBC escape syntax for date/time literals - fix for Sybase
ASE
2012-07-01 10:34:27 +02:00
Lukas Eder
2ba8e8acaa [#1498] jOOQ does not compile using JDK 7 / JDBC 4.1. GitHub Issue #24 -
Moved JDBC 4.1 artefacts to a public org.jooq.tools.jdbc package, for
reuse in jOOQ Console and other modules
2012-07-01 10:16:43 +02:00
Lukas Eder
72715a1c7c [#1253] Avoid JDBC escape syntax for date/time literals 2012-06-30 12:21:07 +02:00
Lukas Eder
206ec3cde4 Fixed bad refactoring change 2012-06-30 10:13:57 +02:00