Commit Graph

2510 Commits

Author SHA1 Message Date
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
e321c830fd [#1737] Restored and adapted DSL.xtend 2013-05-18 16:26:00 +02:00
Lukas Eder
531d1f75e4 [#1737] Add BNF pseudo-notation to the manual - Added the
BNFGenerator, first draft
2013-05-18 16:25:25 +02:00
Lukas Eder
163a60053f Added missing @Support annotations to DeleteConditionStep 2013-05-18 11:25:21 +02:00
Lukas Eder
1fda450d0e Noop 2013-05-17 19:43:36 +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
ef946e5a9c Updated Maven stats 2013-05-17 09:47:36 +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
c6ab1f338a [#2265] Added test cases to ensure that Record.refresh() doesn't execute
a query, if a ResultSet is available
2013-05-11 10:54:49 +02:00
Lukas Eder
18a4c2f978 Added another test case 2013-05-11 10:35:14 +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
2cedb6c07a [#1846] Skip tests for SQLite, which supports only TYPE_FORWARD_ONLY
cursors
2013-05-10 18:38:14 +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
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