db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r536277 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Date Tue, 08 May 2007 18:02:20 GMT
Author: myrnavl
Date: Tue May  8 11:02:16 2007
New Revision: 536277

URL: http://svn.apache.org/viewvc?view=rev&rev=536277
Log:
DERBY-1025 - remove comment re bug from test DataSourceTest.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java?view=diff&rev=536277&r1=536276&r2=536277
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Tue May  8 11:02:16 2007
@@ -1038,15 +1038,11 @@
         xac4.getXAResource().start(xid4a, XAResource.TMNOFLAGS);
         xac4.getXAResource().end(xid4a, XAResource.TMSUCCESS);
 
-        // DERBY-1025.
-        // With Embedded, this will give error: 08003 - No current connection
-        // But with NetworkServer / DerbyNetClient, the transaction does not
-        // appear to be closed, and we actually get a value.
         try {
             rs4.next();
             fail ("expected an exception indicating resultset is closed.");
         } catch (SQLException sqle) {
-            // Embedded gets 08003. No current connection DERBY-2620        	
+            // Embedded gets 08003. No current connection (DERBY-2620)        	
         	if (usingDerbyNetClient())
         		assertSQLState("XCL16",sqle);
         }



Mime
View raw message