db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r428937 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java
Date Sat, 05 Aug 2006 01:50:47 GMT
Author: kmarsden
Date: Fri Aug  4 18:50:47 2006
New Revision: 428937

URL: http://svn.apache.org/viewvc?rev=428937&view=rev
Log:
DERBY-1108
The test jdbcapi/setTransactionIsolation.java fails with ibm jvm1.5
Contributed by Manjula Kutty


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java?rev=428937&r1=428936&r2=428937&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/setTransactionIsolation.java
Fri Aug  4 18:50:47 2006
@@ -201,6 +201,7 @@
 			// setTransactionIsolation should fail because we have 
 			// a holdable cursor open
 			conn.setTransactionIsolation(java.sql.Connection.TRANSACTION_SERIALIZABLE);
+			rs.next(); // to fix DERBY-1108. Else the GC for ibm15 will clean up the ResultSet Object
 		} catch (SQLException se)
 		{
 			System.out.println("EXPECTED EXCEPTION SQLSTATE:" + 



Mime
View raw message