Method Summary |
|
public static void | procWithSideEffects(int returnResults, ResultSet[] rs1, ResultSet[] rs2) Stored procedure which inserts a row into SIMPLE_TABLE and
optionally returns result sets. |
public static void | retrieveClosedResult(ResultSet[] closed) Stored procedure which produces a closed result set. |
public static void | retrieveDynamicResults(int number, ResultSet[] rs1, ResultSet[] rs2, ResultSet[] rs3, ResultSet[] rs4) Stored procedure which returns 0, 1, 2, 3 or 4 ResultSet s. |
public static void | retrieveExternalResult(String dbName, String user, String password, ResultSet[] external) Stored procedure which produces a result set in another
connection. |
public void | setUp() Sets up the connection for a test case and clears all tables
used in the test cases. |
public static Test | suite() Creates the test suite and wraps it in a TestSetup
instance which sets up and tears down the test environment. |
public void | testClosedDynamicResultSetsFromExecuteQuery() Tests that closed result sets are not returned when calling
executeQuery() . |
public void | testClosedDynamicResultSetsFromExecuteUpdate() Tests that closed result sets are ignored when calling
executeUpdate() . |
public void | testDynamicResultSetsFromOtherConnectionWithExecuteQuery() Tests that dynamic result sets from other connections are
ignored when calling executeQuery . |
public void | testDynamicResultSetsFromOtherConnectionWithExecuteUpdate() Tests that dynamic result sets from other connections are
ignored when calling executeUpdate . |
public void | testExecuteQueryWithMoreThanOneDynamicResultSet() Tests that Statement.executeQuery() fails when
multiple result sets are returned. |
public void | testExecuteQueryWithMoreThanOneDynamicResultSet_callable() Tests that CallableStatement.executeQuery() fails
when multiple result sets are returned. |
public void | testExecuteQueryWithMoreThanOneDynamicResultSet_prepared() Tests that PreparedStatement.executeQuery() fails
when multiple result sets are returned. |
public void | testExecuteQueryWithNoDynamicResultSets() Tests that Statement.executeQuery() fails when no
result sets are returned. |
public void | testExecuteQueryWithNoDynamicResultSets_callable() Tests that CallableStatement.executeQuery() fails
when no result sets are returned. |
public void | testExecuteQueryWithNoDynamicResultSets_prepared() Tests that PreparedStatement.executeQuery() fails
when no result sets are returned. |
public void | testExecuteQueryWithOneDynamicResultSet() Tests that Statement.executeQuery() succeeds when
one result set is returned from a stored procedure. |
public void | testExecuteQueryWithOneDynamicResultSet_callable() Tests that CallableStatement.executeQuery()
succeeds when one result set is returned from a stored
procedure. |
public void | testExecuteQueryWithOneDynamicResultSet_prepared() Tests that PreparedStatement.executeQuery()
succeeds when one result set is returned from a stored
procedure. |
public void | testExecuteUpdateWithOneDynamicResultSet() Tests that Statement.executeUpdate() fails when a
result set is returned from a stored procedure. |
public void | testExecuteUpdateWithOneDynamicResultSet_callable() Tests that CallableStatement.executeUpdate() fails
when a result set is returned from a stored procedure. |
public void | testRollbackStoredProcWithExecuteQuery() Tests that the effects of executing a stored procedure with
executeQuery() are correctly rolled back when
Connection.rollback() is called. |
public void | testRollbackStoredProcWithExecuteUpdate() Tests that the effects of executing a stored procedure with
executeUpdate() are correctly rolled back when
Connection.rollback() is called. |
public void | xtestExecuteUpdateWithNoDynamicResultSets() Tests that Statement.executeUpdate() succeeds when
no result sets are returned. |
public void | xtestExecuteUpdateWithNoDynamicResultSets_callable() Tests that CallableStatement.executeUpdate()
succeeds when no result sets are returned. |
public void | xtestExecuteUpdateWithNoDynamicResultSets_prepared() Tests that PreparedStatement.executeUpdate()
succeeds when no result sets are returned. |
public void | xtestExecuteUpdateWithOneDynamicResultSet_prepared() Tests that PreparedStatement.executeUpdate() fails
when a result set is returned from a stored procedure.
Currently, this test fails with
JCC. |
public void | xtestRollbackStoredProcWhenExecuteQueryReturnsNothing() Tests that the effects of executing a stored procedure with
executeQuery() are correctly rolled back when the
query fails because the number of returned result sets is zero. |
public void | xtestRollbackStoredProcWhenExecuteQueryReturnsNothing_prepared() Tests that the effects of executing a stored procedure with
executeQuery() are correctly rolled back when the
query fails because the number of returned result sets is zero. |
public void | xtestRollbackStoredProcWhenExecuteQueryReturnsTooMuch() Tests that the effects of executing a stored procedure with
executeQuery() are correctly rolled back when the
query fails because the number of returned result sets is more
than one. |
public void | xtestRollbackStoredProcWhenExecuteQueryReturnsTooMuch_prepared() Tests that the effects of executing a stored procedure with
executeQuery() are correctly rolled back when the
query fails because the number of returned result sets is more
than one. |
public void | xtestRollbackStoredProcWhenExecuteUpdateReturnsResults() Tests that the effects of executing a stored procedure with
executeUpdate() are correctly rolled back when the
query fails because the stored procedure returned a result set. |
public void | xtestRollbackStoredProcWhenExecuteUpdateReturnsResults_prepared() Tests that the effects of executing a stored procedure with
executeUpdate() are correctly rolled back when the
query fails because the stored procedure returned a result set. |