Method Summary |
|
public static void | main(String[] args) |
public void | testAbsoluteLargeValue() Test that calling absolute() with very large positive
values positions the cursor after the last row and with very large
negative values positions the cursor before the first row. |
public void | testAbsoluteMinusOne() Test that absolute(-1) works the same as last() . |
public void | testCancelResultSet() Test for bug [1246270] Closing a statement after canceling it throws an
exception. |
public void | testCursorFallback() Test that the cursor fallback logic correctly discriminates between
"real" sql errors and cursor open failures. |
public void | testCursorFetch() Test the behavior of sp_cursorfetch with fetch sizes
greater than 1. |
public void | testCursorMaxRows() Test that Statement.setMaxRows() works on cursor
ResultSet s. |
public void | testCursorPrevious() Test that ResultSet.previous() works correctly on cursor
ResultSet s. |
public void | testCursorWarning() Test for bug [1022445] Cursor downgrade warning not raised. |
public void | testDeleteRowMarksDeleted() Test that deleted rows are not removed but rather marked as deleted. |
public void | testDistinctBug() Test bug with Sybase where readonly scrollable result set based on a
SELECT DISTINCT returns duplicate rows. |
public void | testDynamicCursors() Test if dynamic cursors (ResultSet.TYPE_SCROLL_SENSITIVE+1 )
see others' updates. |
public void | testEmptyInsertRow() Test that insertRow() works with no values set. |
public void | testGetByName() Test whether retrieval by name returns the first occurence (that's what
the spec requires). |
public void | testGetObject1() Test BIT data type. |
public void | testGetObject2() Test TINYINT data type. |
public void | testGetObject3() Test SMALLINT data type. |
public void | testGetObject4() Test INT data type. |
public void | testGetObject5() Test BIGINT data type. |
public void | testInsertRowVisible() Test that inserted rows are visible in a scroll sensitive
ResultSet and that they show up at the end. |
public void | testMoreThan255Columns() Test if COL_INFO packets are processed correctly for
ResultSet s with over 255 columns. |
public void | testOutOfMemory() Test the behavior of the ResultSet/Statement/Connection when the JVM
runs out of memory (hopefully) in the middle of a packet. |
public void | testPessimisticConcurrency() Test pessimistic concurrency for SQL Server (for Sybase optimistic
concurrency will always be used). |
public void | testRelative() Test for bug [1182066] regression bug resultset: relative() not working
as expected. |
public void | testRelativeLargeValue() Test that calling absolute() with very large positive
values positions the cursor after the last row and with very large
negative values positions the cursor before the first row. |
public void | testResultSetColumnName1() |
public void | testResultSetMetaData() Test for fixed bugs in ResultSetMetaData:
- isNullable() always returns columnNoNulls.
|
public void | testResultSetScroll1() Test for bug [961594] ResultSet. |
public void | testResultSetScroll2() Test for bug [945462] getResultSet() return null if you use scrollable/updatable. |
public void | testResultSetScroll3() Test for bug [1028881] statement.execute() causes wrong ResultSet type. |
public void | testResultSetUpdate1() Test for bug [1008208] 0.9-rc1 updateNull doesn't work. |
public void | testRowstat() Test for bug [1329765] Pseudo column ROWSTAT is back with SQL 2005
(September CTP). |
public void | testSetObjectScale() Test for bug [1075977] setObject() causes SQLException. |
public void | testUnicodeStream() Test that read() works ok on the stream returned by
ResultSet.getUnicodeStream() (i.e. |
public void | testUpdateRowDuplicatesRow() Test that updated rows are marked as deleted and the new values inserted
at the end of the ResultSet if the primary key is updated. |
public void | testUpdateRowNoChanges() Test for bug [1170777] resultSet.updateRow() fails if no row has been
changed. |
public void | testUpdateRowPosition() Test that after updateRow() the cursor is positioned correctly. |
public void | testUpdateRowUpdatesRow() Test that updated rows are modified in place if the primary key is not
updated. |
public void | testUpdateableClientCursor() Test for bug [1197603] Cursor downgrade error in CachedResultSet --
updateable result sets were incorrectly downgraded to read only forward
only ones when client side cursors were used. |
public void | testZeroFetchSize() Test for bug [1232733] setFetchSize(0) causes exception. |