db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r639370 - /db/derby/code/branches/10.3.2.1_test/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Date Thu, 20 Mar 2008 17:19:36 GMT
Author: kmarsden
Date: Thu Mar 20 10:19:35 2008
New Revision: 639370

URL: http://svn.apache.org/viewvc?rev=639370&view=rev
Log:
Make test change for DERBY-3404 (revision 629712). Embedded throws 
result set closed exception (XCL16)  rather than connection closed (08003)

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

Modified: db/derby/code/branches/10.3.2.1_test/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3.2.1_test/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java?rev=639370&r1=639369&r2=639370&view=diff
==============================================================================
--- db/derby/code/branches/10.3.2.1_test/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
(original)
+++ db/derby/code/branches/10.3.2.1_test/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Thu Mar 20 10:19:35 2008
@@ -2452,10 +2452,8 @@
             rsh.next();
             fail("rsh's connection not active id ");
         } catch (SQLException sqle) {
-            if (usingEmbedded())
-                assertSQLState("08003", sqle);
-            else if (usingDerbyNetClient())
-                assertSQLState("XCL16", sqle);
+        	assertSQLState("XCL16",sqle);
+            
         }
 
         // resume XA transaction and keep using rs");



Mime
View raw message