You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2006/03/21 21:21:01 UTC

svn commit: r387611 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java

Author: kmarsden
Date: Tue Mar 21 12:20:59 2006
New Revision: 387611

URL: http://svn.apache.org/viewcvs?rev=387611&view=rev
Log:
DERBY-435 -  jdbcapi/checkDataSource30 should test client DataSources

Update test with comments including Jira issues for excluded  cases.


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java?rev=387611&r1=387610&r2=387611&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDataSource.java Tue Mar 21 12:20:59 2006
@@ -98,8 +98,9 @@
 	// DERBY-1047  wiht client xa a PreparedStatement created before the global 
 	//transaction starts gives java.sql.SQLException: 'Statement' already closed.' 
 	// when used after  the global transaction ends
-	private static boolean canUseStatementAfterXa_end = TestUtil.isEmbeddedFramework();
-	
+	//private static boolean canUseStatementAfterXa_end = TestUtil.isEmbeddedFramework();
+	 private static boolean canUseStatementAfterXa_end = true;
+	 	
 	// DERBY-1025 client  XAResource.start() does not commit an active local transaction 
 	// when auto commit is true. Embedded XAResource.start() implementation commits 
 	// the active local transaction on the Connection associated with the XAResource.
@@ -708,8 +709,11 @@
 		} catch (Exception e) {
 				System.out.println("; wrong, unexpected exception: " + e.toString());
 		}
-		// Continuing work for DERBY-435 to get checkDataSource working with client 
-		// return here for now.
+		// skip testDSRequestAuthentication for  client because of these 
+		// two issues:
+		// DERBY-1130 : Client should not allow databaseName to be set with
+		// setConnectionAttributes
+		// DERBY-1131 : Deprecate  Derby DataSource property attributesAsPassword
 		if (TestUtil.isDerbyNetClientFramework())
 			return;
 		testDSRequestAuthentication();