db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r431939 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BLOBTest.java
Date Wed, 16 Aug 2006 16:27:49 GMT
Author: djd
Date: Wed Aug 16 09:27:48 2006
New Revision: 431939

URL: http://svn.apache.org/viewvc?rev=431939&view=rev
Log:
DERBY-1701 (partial) Close statements and result sets in BLOBTest.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BLOBTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BLOBTest.java?rev=431939&r1=431938&r2=431939&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BLOBTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BLOBTest.java
Wed Aug 16 09:27:48 2006
@@ -104,6 +104,7 @@
         testUpdateBlobWithResultSetMethods(rs, newVal, newSize);
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -134,6 +135,7 @@
         verifyBlob(newVal, newSize, rs.getBlob(3));
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -162,6 +164,7 @@
         testUpdateBlobWithPositionedUpdate(rs, newVal, newSize);
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -191,6 +194,7 @@
         verifyBlob(newVal, newSize, rs.getBlob(1));
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -221,6 +225,7 @@
         testUpdateBlobWithResultSetMethods(rs, newVal, newSize);
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -253,6 +258,7 @@
         verifyBlob(newVal, newSize, rs.getBlob("DATA"));
         
         rs.close();
+        stmt.close();
     }
 
     /**
@@ -279,6 +285,7 @@
         testUpdateBlobWithPositionedUpdate(rs, newVal, newSize);
         
         rs.close();
+        stmt.close();
     }
     
     
@@ -380,6 +387,9 @@
             foundVal = true;
         }
         assertTrue("No column with value= " + newVal + " found ", foundVal);
+        
+        rs.close();
+        stmt.close();
     }
                           
     /**



Mime
View raw message