db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r482129 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobClob4BlobTest.java
Date Mon, 04 Dec 2006 10:54:54 GMT
Author: kahatlen
Date: Mon Dec  4 02:54:53 2006
New Revision: 482129

URL: http://svn.apache.org/viewvc?view=rev&rev=482129
Log:
DERBY-2140: BlobClob4BlobTest.testSelfDestructiveClob() fails with
"ERROR X0X95: Operation 'DROP TABLE' cannot be performed on object
'TESTCLOB' because there is an open ResultSet dependent on that
object."

Close ResultSet and Statement in testSelfDestructiveClob.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobClob4BlobTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobClob4BlobTest.java?view=diff&rev=482129&r1=482128&r2=482129
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobClob4BlobTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobClob4BlobTest.java
Mon Dec  4 02:54:53 2006
@@ -2589,6 +2589,9 @@
 
         assertEquals("FAIL - invalid column size", clobLength, columnSize);
         assertEquals("FAIL - invalid column size", columnSize, clob.length());
+
+        rs.close();
+        stmt.close();
     }
 
     /**



Mime
View raw message