db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r629839 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClientConnectionPoolDataSourceTest.java
Date Thu, 21 Feb 2008 16:00:38 GMT
Author: kristwaa
Date: Thu Feb 21 08:00:37 2008
New Revision: 629839

URL: http://svn.apache.org/viewvc?rev=629839&view=rev
Log:
DERBY-3325: Create the in the test database if it does not exist.
Patch file: n/a

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClientConnectionPoolDataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClientConnectionPoolDataSourceTest.java?rev=629839&r1=629838&r2=629839&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClientConnectionPoolDataSourceTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClientConnectionPoolDataSourceTest.java
Thu Feb 21 08:00:37 2008
@@ -111,6 +111,7 @@
      */
     private void verifyConnection(ClientConnectionPoolDataSource cDs)
             throws SQLException {
+        J2EEDataSource.setBeanProperty(cDs, "createDatabase", "create");
         PooledConnection pc = cDs.getPooledConnection();
         // Get a connection and make sure we can access the database.
         Connection con = pc.getConnection();



Mime
View raw message