[jboss-svn-commits] JBL Code SVN: r30540 - labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Dec 8 12:26:24 EST 2009


Author: whitingjr
Date: 2009-12-08 12:26:24 -0500 (Tue, 08 Dec 2009)
New Revision: 30540

Added:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/second-resource-installation.properties
Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/db-installation.properties
Log:
Refactored codebase to support blended datasources.

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/db-installation.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/db-installation.properties	2009-12-08 17:25:57 UTC (rev 30539)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/db-installation.properties	2009-12-08 17:26:24 UTC (rev 30540)
@@ -1,7 +1,14 @@
 
-# driver settings
 # Resource A
 
+# specify which packages or classes are to be profiled. These will be identical across any database installation
+db-vendor-profiling.A=oracle
+# inclusion xpaths
+db-vendor-package.xpath.A=oracle
+
+db-vendor.method.xpaths.A=oracle.net.ns.DataPacket:send,oracle.net.ns.DataPacket:receive
+
+
 db-vendor-jdbc-connectionURL.A=jdbc:oracle:thin:@${db-vendor-jdbc-serverName.A}:1521:${db-vendor-jdbc-database.A}
 db-vendor-jdbc-userName.A=dtf11
 db-vendor-jdbc-password.A=dtf11
@@ -10,12 +17,18 @@
 db-vendor-jdbc-serverName.A=localhost
 db-vendor-jdbc-database.A=orcl
 
-# Resource B
+db-vendor-jdbc-same.driverClass.A=oracle.jdbc.pool.OracleDataSource
+db-vendor-jdbc-xa.driverClass.A=oracle.jdbc.xa.client.OracleXADataSource
 
-db-vendor-jdbc-connectionURL.B=jdbc:oracle:thin:@${db-vendor-jdbc-serverName.B}:1521:${db-vendor-jdbc-database.B}
-db-vendor-jdbc-userName.B=dtf11
-db-vendor-jdbc-password.B=dtf11
+# dbunit vendor db factory for data types
+db-vendor-dbunit-datatype.factory.A=org.dbunit.ext.oracle.OracleDataTypeFactory
 
-# use filter chaining expandproperties to populate the connectionURL with the following host
-db-vendor-jdbc-serverName.B=larry.buildnet.ncl.jboss.com
-db-vendor-jdbc-database.B=orcl
+# database dialect
+db-vendor-hibernate.dialect.A=org.hibernate.dialect.OracleDialect
+
+# class used to relax integrity constraint
+db-vendor-constraint-class.A=org.jboss.jbossts.performance.persistence.vendor.OracleConstraint
+
+db-connection.caching.A=false
+
+db-vendor-driver.configuration.xml.A=<entry><key>URL</key><value>${db-vendor-jdbc-connectionURL.A}</value></entry><entry><key>ServerName</key><value>${db-vendor-jdbc-serverName.A}</value></entry><entry><key>DatabaseName</key><value>${db-vendor-jdbc-database.A}</value></entry><entry><key>ConnectionCachingEnabled</key><value>${db-connection.caching.A}</value></entry><entry><key>User</key><value>${db-vendor-jdbc-userName.A}</value></entry><entry><key>Password</key><value>${db-vendor-jdbc-password.A}</value></entry>

Added: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/second-resource-installation.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/second-resource-installation.properties	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/co-located-db/second-resource-installation.properties	2009-12-08 17:26:24 UTC (rev 30540)
@@ -0,0 +1,34 @@
+
+# Resource B
+
+# specify which packages or classes are to be profiled. These will be identical across any database installation
+db-vendor-profiling.B=oracle
+# inclusion xpaths
+db-vendor-package.xpath.B=oracle
+
+db-vendor.method.xpaths.B=oracle.net.ns.DataPacket:send,oracle.net.ns.DataPacket:receive
+
+
+db-vendor-jdbc-connectionURL.B=jdbc:oracle:thin:@${db-vendor-jdbc-serverName.B}:1521:${db-vendor-jdbc-database.B}
+db-vendor-jdbc-userName.B=dtf11
+db-vendor-jdbc-password.B=dtf11
+
+# use filter chaining expandproperties to populate the connectionURL with the following host
+db-vendor-jdbc-serverName.B=larry.buildnet.ncl.jboss.com
+db-vendor-jdbc-database.B=orcl
+
+db-vendor-jdbc-same.driverClass.B=oracle.jdbc.pool.OracleDataSource
+db-vendor-jdbc-xa.driverClass.B=oracle.jdbc.xa.client.OracleXADataSource
+
+# dbunit vendor db factory for data types
+db-vendor-dbunit-datatype.factory.B=org.dbunit.ext.oracle.OracleDataTypeFactory
+
+# database dialect
+db-vendor-hibernate.dialect.B=org.hibernate.dialect.OracleDialect
+
+# class used to relax integrity constraint
+db-vendor-constraint-class.B=org.jboss.jbossts.performance.persistence.vendor.OracleConstraint
+
+db-connection.caching.B=false
+
+db-vendor-driver.configuration.xml.B=<entry><key>URL</key><value>${db-vendor-jdbc-connectionURL.B}</value></entry><entry><key>ServerName</key><value>${db-vendor-jdbc-serverName.B}</value></entry><entry><key>DatabaseName</key><value>${db-vendor-jdbc-database.B}</value></entry><entry><key>ConnectionCachingEnabled</key><value>${db-connection.caching.B}</value></entry><entry><key>User</key><value>${db-vendor-jdbc-userName.B}</value></entry><entry><key>Password</key><value>${db-vendor-jdbc-password.B}</value></entry>
\ No newline at end of file



More information about the jboss-svn-commits mailing list