Index: java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/CallableTest.java =================================================================== --- java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/CallableTest.java (revision 633808) +++ java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/CallableTest.java (working copy) @@ -292,6 +292,16 @@ } + public void testIsolationLevelChangeAfterFunctionCall() + throws SQLException { + CallableStatement cs = prepareCall("? = CALL NO_IN_ONE_OUT_FUNC()"); + cs.registerOutParameter(1, java.sql.Types.INTEGER); + cs.execute(); + assertEquals(55, cs.getInt(1)); + getConnection().setTransactionIsolation( + Connection.TRANSACTION_SERIALIZABLE); + } + /** * Calls a SQL procedure that outputs a message with System.out.println. * Converted from the original test, but initially disabled because of the