db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r831738 - /db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java
Date Sun, 01 Nov 2009 19:24:26 GMT
Author: myrnavl
Date: Sun Nov  1 19:24:25 2009
New Revision: 831738

URL: http://svn.apache.org/viewvc?rev=831738&view=rev
Log:
DERBY-4151; java.net.ConnectionException in J2EEDataSourceTest with network server on IBM
iseries; backport of revision 831584 from trunk.

Modified:
    db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java

Modified: db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java?rev=831738&r1=831737&r2=831738&view=diff
==============================================================================
--- db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java
(original)
+++ db/derby/code/branches/10.5/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/J2EEDataSourceTest.java
Sun Nov  1 19:24:25 2009
@@ -742,6 +742,7 @@
         Connection c = pc.getConnection();
         c.setAutoCommit(false);
         testCloseActiveConnection(c, false, false);
+        pc.close();
     }
 
     /**
@@ -756,6 +757,7 @@
         Connection c = xa.getConnection();
         c.setAutoCommit(false);
         testCloseActiveConnection(c, false, false);
+        xa.close();
     }
 
     /**
@@ -778,6 +780,7 @@
         c.setAutoCommit(false);
         testCloseActiveConnection(c, false, true);
         xar.end(xid, XAResource.TMSUCCESS);
+        xa.close();
     }
 
     /**



Mime
View raw message