You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2006/01/30 00:16:31 UTC
svn commit: r373390 - /db/ddlutils/trunk/src/test/jdbc.properties.oracle9
Author: tomdz
Date: Sun Jan 29 15:16:27 2006
New Revision: 373390
URL: http://svn.apache.org/viewcvs?rev=373390&view=rev
Log:
Tests against an Oracle database should per default use the datasource supplied by Oracle rather than the DBCP one
Modified:
db/ddlutils/trunk/src/test/jdbc.properties.oracle9
Modified: db/ddlutils/trunk/src/test/jdbc.properties.oracle9
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/jdbc.properties.oracle9?rev=373390&r1=373389&r2=373390&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/jdbc.properties.oracle9 (original)
+++ db/ddlutils/trunk/src/test/jdbc.properties.oracle9 Sun Jan 29 15:16:27 2006
@@ -9,11 +9,22 @@
# Using the plain DBCP datasource
#
-datasource.class=org.apache.commons.dbcp.BasicDataSource
-datasource.driverClassName=oracle.jdbc.driver.OracleDriver
-datasource.url=jdbc:oracle:thin:@localhost:1521:ddlutilstest
-datasource.username=ddlutils
+#datasource.class=org.apache.commons.dbcp.BasicDataSource
+#datasource.driverClassName=oracle.jdbc.driver.OracleDriver
+#datasource.url=jdbc:oracle:thin:@localhost:1521:test
+#datasource.username=ddlutils
+#datasource.password=ddlutils
+
+#
+# Or the Oracle datasource
+#
+
+datasource.class=oracle.jdbc.pool.OracleDataSource
+datasource.URL=jdbc:oracle:thin:@localhost:1521:test
+datasource.user=ddlutils
datasource.password=ddlutils
+datasource.connectionCachingEnabled=true
+
# For oracle, we should limit the schema to the one of the user
# Note that Oracle requires this to be uppercase, even when using delimited identifiers