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

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


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

Added:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/second-resource-installation.properties
Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-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/remote-db/db-installation.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/db-installation.properties	2009-12-08 17:26:24 UTC (rev 30540)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/db-installation.properties	2009-12-08 17:26:53 UTC (rev 30541)
@@ -1,11 +1,35 @@
 
+# 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
+
 # driver settings
 
-#jdbc:oracle:thin:@larry.buildnet.ncl.jboss.com:1521:orcl
-db-vendor-jdbc-connectionURL=jdbc:oracle:thin:@${db-vendor-jdbc-serverName}:1521:${db-vendor-jdbc-database}
-db-vendor-jdbc-userName=dtf11
-db-vendor-jdbc-password=dtf11
+db-vendor-jdbc-connectionURL.A=jdbc:arjuna:oracle_thin1:@${db-vendor-jdbc-serverName.A}:1521:${db-vendor-jdbc-database.A}
+db-vendor-jdbc-userName.A=dtf11
+db-vendor-jdbc-password.A=dtf11
 
 # use filter chaining expandproperties to populate the connectionURL with the following host
-db-vendor-jdbc-serverName=larry.buildnet.ncl.jboss.com
-db-vendor-jdbc-database=orcl
+db-vendor-jdbc-serverName.A=larry.buildnet.ncl.jboss.com
+db-vendor-jdbc-database.A=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.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>
\ No newline at end of file

Added: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/second-resource-installation.properties
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/second-resource-installation.properties	                        (rev 0)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/database/oracle/database-locations/remote-db/second-resource-installation.properties	2009-12-08 17:26:53 UTC (rev 30541)
@@ -0,0 +1,35 @@
+
+# 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:arjuna:oracle_thin2:@${db-vendor-jdbc-serverName.B}:1521:${db-vendor-jdbc-database.B}
+db-vendor-jdbc-connectionURL.B=jdbc:oracle:thin:@${db-vendor-jdbc-serverName.B}:1521:${db-vendor-jdbc-database.B}
+
+db-vendor-jdbc-userName.B=dtf12
+db-vendor-jdbc-password.B=dtf12
+
+# 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