db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1331263 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Date Fri, 27 Apr 2012 07:19:59 GMT
Author: kahatlen
Date: Fri Apr 27 07:19:58 2012
New Revision: 1331263

URL: http://svn.apache.org/viewvc?rev=1331263&view=rev
Log:
DERBY-5721: ParameterMappingTest lacks call to super.tearDown()

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java?rev=1331263&r1=1331262&r2=1331263&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Fri Apr 27 07:19:58 2012
@@ -1094,13 +1094,10 @@ public class ParameterMappingTest extend
      * @see org.apache.derbyTesting.junit.BaseJDBCTestCase#tearDown()
      */
     protected void tearDown() throws Exception {
-        Connection conn = getConnection();
         rollback();
-        Statement scb = conn.createStatement();
-        scb.execute("DROP TABLE PM.LOB_GET");
-        scb.close();
+        dropTable("PM.LOB_GET");
         commit();
-
+        super.tearDown();
     }
 
     private static void getXXX(PreparedStatement ps, int type, boolean isNull)



Mime
View raw message