| org.apache.derbyTesting.junit.BaseJDBCTestCase org.apache.derbyTesting.functionTests.tests.jdbcapi.ScrollResultSetTest
ScrollResultSetTest | public class ScrollResultSetTest extends BaseJDBCTestCase (Code) | | Tests scrollable result sets
author: Fernanda Pizzorno author: Tests: author: - testNextOnLastRowForwardOnly: tests that the result set is closed when all author: rows have been retreived and next has been called from the last row, author: autocommit = true, the result set is not holdable and type forward author: only. (DERBY-1295) author: - testNextOnLastRowScrollable: tests that the result set is not closed when author: next is called while the result set is positioned in the last row, author: autocommit = true, the result set is not holdable type scrollable author: insensitive. (DERBY-1295) |
ScrollResultSetTest | public ScrollResultSetTest(String name)(Code) | | Creates a new instance of ScrollResultSetTest
|
setUp | public void setUp() throws Exception(Code) | | Set up the connection to the database.
|
suite | public static Test suite()(Code) | | |
testNextOnLastRowForwardOnly | public void testNextOnLastRowForwardOnly() throws SQLException(Code) | | Test that moving to next row after positioned at the last row on a
forward only result set will close the result set
|
testNextOnLastRowScrollable | public void testNextOnLastRowScrollable() throws SQLException(Code) | | Test that moving to next row after positioned at the last row on a
scrollable result set will not close the result set
|
Methods inherited from org.apache.derbyTesting.junit.BaseJDBCTestCase | public void assertCompileError(String sqlState, String query)(Code)(Java Doc) public static void assertEquals(Blob b1, Blob b2) throws IOException, SQLException(Code)(Java Doc) public static void assertEquals(Clob c1, Clob c2) throws IOException, SQLException(Code)(Java Doc) public static void assertSQLState(String message, String expected, SQLException exception)(Code)(Java Doc) public static void assertSQLState(String expected, SQLException exception)(Code)(Java Doc) public void commit() throws SQLException(Code)(Java Doc) public Statement createStatement() throws SQLException(Code)(Java Doc) public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public Connection getConnection() throws SQLException(Code)(Java Doc) public Connection getConnection(String databaseName, String connAttrs) throws SQLException(Code)(Java Doc) public Connection getDefaultConnection(String connAttrs) throws SQLException(Code)(Java Doc) protected void initializeConnection(Connection conn) throws SQLException(Code)(Java Doc) public Connection openConnection(String databaseName) throws SQLException(Code)(Java Doc) public Connection openDefaultConnection() throws SQLException(Code)(Java Doc) public CallableStatement prepareCall(String sql) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql) throws SQLException(Code)(Java Doc) public void rollback() throws SQLException(Code)(Java Doc) public int runSQLCommands(String sqlCommands) throws UnsupportedEncodingException, SQLException(Code)(Java Doc) public int runScript(InputStream script, String encoding) throws UnsupportedEncodingException, SQLException(Code)(Java Doc) protected void tearDown() throws java.lang.Exception(Code)(Java Doc) public static boolean usingDerbyNet()(Code)(Java Doc) public static boolean usingDerbyNetClient()(Code)(Java Doc) public static boolean usingEmbedded()(Code)(Java Doc)
|
|
|