| java.lang.Object org.apache.derbyTesting.functionTests.tests.jdbc4.TestResultSetMethods
TestResultSetMethods | public class TestResultSetMethods (Code) | | This class is used to test the implementations of the JDBC 4.0 methods
in the ResultSet interface
|
getResultSetWithHoldability | public static void getResultSetWithHoldability(int holdability, ResultSet[] rs) throws SQLException(Code) | | Method invoked by t_getHoldability() (as a stored
procedure) to retrieve a result set with a given holdability.
Parameters: holdability - requested holdability Parameters: rs - result set returned from stored procedure exception: SQLException - if a database error occurs |
t_getHoldability | void t_getHoldability()(Code) | | Tests that ResultSet.getHoldability() has the
correct behaviour.
|
t_isClosed | void t_isClosed()(Code) | | Tests that ResultSet.isClosed() returns the
correct value in different situations.
|
t_wrapper | void t_wrapper(ResultSet rs)(Code) | | Tests the wrapper methods isWrapperFor and unwrap. There are two cases
to be tested
Case 1: isWrapperFor returns true and we call unwrap
Case 2: isWrapperFor returns false and we call unwrap
Parameters: rs - The ResultSet object on which the wrapper methods are tested |
threeResultSets | public static void threeResultSets(ResultSet[] rs1, ResultSet[] rs2, ResultSet[] rs3) throws SQLException(Code) | | Method that is invoked by t_isClosed() (as a
stored procedure) to retrieve three result sets.
Parameters: rs1 - first result set Parameters: rs2 - second result set Parameters: rs3 - third result set exception: SQLException - if a database error occurs |
|
|