Author: vhalbert(a)redhat.com
Date: 2009-09-20 12:31:50 -0400 (Sun, 20 Sep 2009)
New Revision: 1427
Added:
trunk/test-integration/db/src/main/resources/xa-config.properties
Modified:
trunk/test-integration/db/src/main/resources/default-config.properties
Log:
Teiid 773 - setting up the xa transaction tests
Modified: trunk/test-integration/db/src/main/resources/default-config.properties
===================================================================
--- trunk/test-integration/db/src/main/resources/default-config.properties 2009-09-20
16:31:17 UTC (rev 1426)
+++ trunk/test-integration/db/src/main/resources/default-config.properties 2009-09-20
16:31:50 UTC (rev 1427)
@@ -2,6 +2,10 @@
# Common Properties for everybody
##########################################
+
+# local, xa, jndi
+transaction-type=local
+
process-batch = 20
connector-batch = 20
@@ -57,10 +61,6 @@
#connection-type=datasource
#connection-type=driver
-
-# local, xa, jndi
-#transaction-type=local
-
# autocommit applies to local transaction-type only
# default is true
#autocommit=false
Added: trunk/test-integration/db/src/main/resources/xa-config.properties
===================================================================
--- trunk/test-integration/db/src/main/resources/xa-config.properties
(rev 0)
+++ trunk/test-integration/db/src/main/resources/xa-config.properties 2009-09-20 16:31:50
UTC (rev 1427)
@@ -0,0 +1,76 @@
+##########################################
+# Common Properties for everybody
+##########################################
+# local, xa, jndi
+transaction-type=xa
+
+process-batch = 20
+connector-batch = 20
+
+# this is how to submit queries to Teiid
+# default is true
+execute.in.batch=false
+
+##########################################
+# properties for Teiid connection
+##########################################
+driver=com.metamatrix.jdbc.EmbeddedDataSource
+URL=jdbc:metamatrix:Transaction@target/classes/transactions/transaction.properties
+User=metamatrixadmin
+Password=mm
+databasename=Transaction
+servername=target/classes/transactions/transaction.properties
+portnumber=0
+application-name=txn-test
+
+# jboss
+# mm.ds-jndiname=java:mmXA
+# usertxn-jndiname=UserTransaction
+
+# weblogic
+mm.ds-jndiname=mmXA
+usertxn-jndiname=java:comp/UserTransaction
+
+# === Mode-to-Datasource Mapping ======
+# <model>=<datasource type name>
+
+# This mapping will be used by the set of testcases that load this config file.
+# These mapping control what datasource is mapped to which model
+#
+# See the resources/datasources/datasource_mapping.xml for the available datasource type
names
+#
+# <datasource type name> can be the name of either a datasourcegroup or datasource
+#
+#
+
+pm1=nonxa
+pm2=nonxa
+
+
+##########################################
+# For default design of testcases, these properties are in the setup method of the
testcase.
+# However, you can create your own version of the config properties file
+# and specify these properties in the config file
+# NOTE: will need to set the Sytem "config" property in order to override the
default-config.properties file
+##########################################
+
+
+#available types (datasource, driver, jndi)
+#connection-type=datasource
+#connection-type=driver
+
+
+# autocommit applies to local transaction-type only
+# default is true
+#autocommit=false
+
+# AUTO_WRAP_OFF = "OFF"
+# AUTO_WRAP_ON = "ON"
+# AUTO_WRAP_PESSIMISTIC = "PESSIMISTIC"
+# AUTO_WRAP_OPTIMISTIC = "OPTIMISTIC"
+
+#txnAutoWrap=off
+
+#-----------------------------
+
+
Property changes on: trunk/test-integration/db/src/main/resources/xa-config.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date