Author: vhalbert(a)redhat.com
Date: 2009-12-21 15:06:52 -0500 (Mon, 21 Dec 2009)
New Revision: 1690
Modified:
trunk/test-integration/db/src/main/java/org/teiid/test/client/TransactionFactory.java
Log:
Teiid 781 - updated to support the new autocommit txn options
Modified:
trunk/test-integration/db/src/main/java/org/teiid/test/client/TransactionFactory.java
===================================================================
---
trunk/test-integration/db/src/main/java/org/teiid/test/client/TransactionFactory.java 2009-12-21
20:01:48 UTC (rev 1689)
+++
trunk/test-integration/db/src/main/java/org/teiid/test/client/TransactionFactory.java 2009-12-21
20:06:52 UTC (rev 1690)
@@ -25,7 +25,7 @@
import org.teiid.test.framework.TransactionContainer;
import org.teiid.test.framework.exception.QueryTestFailedException;
import org.teiid.test.framework.exception.TransactionRuntimeException;
-import org.teiid.test.framework.transaction.AutoWrapTransaction;
+import org.teiid.test.framework.transaction.AutoCommitTransaction;
import org.teiid.test.framework.transaction.JNDITransaction;
import org.teiid.test.framework.transaction.LocalTransaction;
import org.teiid.test.framework.transaction.OffWrapTransaction;
@@ -91,7 +91,7 @@
transacton = new OnWrapTransaction();
}
else if (type.equalsIgnoreCase(TRANSACTION_TYPES.AUTOWRAP_TRANSACTION)) {
- transacton = new AutoWrapTransaction();
+ transacton = new AutoCommitTransaction();
} else {
throw new TransactionRuntimeException("Invalid property value of " +
type + " for " + TRANSACTION_TYPE );
Show replies by date