Method Summary |
|
public static Test | suite() |
protected void | tearDown() |
public void | testConcurrencyModeWarning1() Test that you get a warning when specifying a query which is not
updatable and concurrency mode CONCUR_UPDATABLE. |
public void | testConcurrencyModeWarning2() Test that you get a warning when specifying a query which is not
updatable and concurrency mode CONCUR_UPDATABLE. |
public void | testCursorOperationConflictWarning1() Test that you get cursor operation conflict warning if updating
a row which has been deleted from the table. |
public void | testCursorOperationConflictWarning2() Test that you get cursor operation conflict warning if updating
a row which has been deleted from the table, now using
positioned updates / deletes. |
public void | testCursorStateAfterCommit1() Test that when doing an update immediately after
a commit, the update fails, because the cursor has been
postioned between the current row and the next row. |
public void | testCursorStateAfterCommit2() Test that when doing an update immediately after
a commit, the update fails, because the cursor has been
postioned between the current row and the next row. |
public void | testCursorStateAfterCommit3() Test that when doing an update immediately after
a commit, the update fails, because the cursor has been
postioned between the current row and the next row. |
public void | testCursorStateAfterCommit4() Test that when doing an update immediately after
a commit, the update fails, because the cursor has been
postioned between the current row and the next row. |
public void | testDetectabilityExceptions() Test that the JDBC detectability calls throw correct exceptions when
called in in wrong row states. |
public void | testDowngradeToScrollReadOnly() DERBY-1481 - ResultSet.beforeFirst() gives protocol error on scrollable,
updatable result sets that are downgraded to read-only
Check that no exception is thrown when calling positioning methods on a
result set that has been downgraded to read-only. |
public void | testFailOnUpdateOfReadOnlyResultSet1() Test that you get an exception if you try to update a ResultSet
with concurrency mode CONCUR_READ_ONLY. |
public void | testFailOnUpdateOfReadOnlyResultSet2() Test that you get an exception when attempting to update a
ResultSet which has been downgraded to a read only ResultSet. |
public void | testFailOnUpdateOfReadOnlyResultSet3() Test that you get an exception when attempting to update a
ResultSet which has been downgraded to a read only ResultSet. |
public void | testFailOnUpdateOfReadOnlyResultSet4() Test that you get an exception when attempting to update a
ResultSet which has been downgraded to a read only ResultSet. |
public void | testFailOnUpdateOfReadOnlyResultSet5() Test that you get an exception if you try to update a ResultSet
with concurrency mode CONCUR_READ_ONLY. |
public void | testForUpdateException1() Test that you get an exception when specifying update clause
"FOR UPDATE"
along with a query which is not updatable. |
public void | testForUpdateException2() Test that you get an exception when specifying update clause
"FOR UPDATE" along with a query which is not updatable. |
public void | testForwardOnlyConcurUpdatableWithForUpdate1() |
public void | testForwardOnlyConcurUpdatableWithoutForUpdate1() |
public void | testForwardOnlyReadOnly1() |
public void | testIndexedScrollInsensitiveUpdateCursorWithForUpdate1() Test that you can scroll forward and update indexed records
in the scrollable ResultSet (using FOR UPDATE). |
public void | testIndexedScrollInsensitiveUpdateCursorWithoutForUpdate1() Test that you can scroll forward and update indexed records
in the scrollable ResultSet (not using FOR UPDATE). |
public void | testIndexedUpdateCursor1() |
public void | testIndexedUpdateCursor2() Test that you can scroll forward and update indexed records
in the ResultSet (using FOR UPDATE). |
public void | testInsertRowWithScrollCursor() Tests that it is possible to move using positioning methods after
moveToInsertRow and that it is possible to delete a row after
positioning back from insertRow. |
public void | testMultiUpdateRow1() Test that you can correctly run multiple updateXXX() + updateRow()
combined with cancelRowUpdates(). |
public void | testMultiUpdateRow2() Test that you can correctly run multiple updateNull() + updateRow()
combined with cancelRowUpdates(). |
public void | testMultipleKeyUpdates() |
public void | testOtherAndOwnPrimaryKeyUpdate1() Test update of a keyed record using other both the
scrollable updatable resultset and using another statement
object. |
public void | testOtherPrimaryKeyUpdate1() Test update of a keyed record using other statement
object. |
public void | testOtherSecondaryKeyUpdate1() Test update indexed records using other statement object
and using resultset. |
public void | testPositionedUpdateWithForUpdate1() |
public void | testPositionedUpdateWithoutForUpdate1() |
public void | testPrimaryKeyUpdate1() Test update of a keyed record using scrollable updatable
resultset. |
public void | testRowUpdatedAndRowDeleted() Test that rowUpdated() and rowDeleted() methods both return true when
the row has first been updated and then deleted using the updateRow()
and deleteRow() methods. |
public void | testScrollInsensitiveConcurUpdatableWithForUpdate1() |
public void | testScrollInsensitiveConcurUpdatableWithForUpdate2() Test update of a scrollable resultset (with FOR UPDATE)
Scrolling forward and backward. |
public void | testScrollInsensitiveConcurUpdatableWithForUpdate3() Test update of a scrollable resultset (with FOR UPDATE)
Scrolling forward and backward. |
public void | testScrollInsensitiveConcurUpdatableWithoutForUpdate1() |
public void | testScrollInsensitiveConcurUpdatableWithoutForUpdate2() Test update of a scrollable resultset (without FOR UPDATE)
Scrolling forward and backward. |
public void | testScrollInsensitiveConcurUpdatableWithoutForUpdate3() Test update of a scrollable resultset (without FOR UPDATE)
Scrolling forward and backward. |
public void | testScrollInsensitiveReadOnly1() |
public void | testScrollablePositionedUpdateWithForUpdate1() |
public void | testSecondaryIndexKeyUpdate1() |