Author: steve.ebersole(a)jboss.com
Date: 2008-03-18 03:02:20 -0400 (Tue, 18 Mar 2008)
New Revision: 14451
Modified:
core/trunk/testing/src/main/java/org/hibernate/test/tm/TransactionManagerLookupImpl.java
Log:
HHH-1786 : more WebSphere JTA garbage;
copyright headers
clean-up
Modified:
core/trunk/testing/src/main/java/org/hibernate/test/tm/TransactionManagerLookupImpl.java
===================================================================
---
core/trunk/testing/src/main/java/org/hibernate/test/tm/TransactionManagerLookupImpl.java 2008-03-18
05:54:15 UTC (rev 14450)
+++
core/trunk/testing/src/main/java/org/hibernate/test/tm/TransactionManagerLookupImpl.java 2008-03-18
07:02:20 UTC (rev 14451)
@@ -25,6 +25,7 @@
import java.util.Properties;
import javax.transaction.TransactionManager;
+import javax.transaction.Transaction;
import org.hibernate.transaction.TransactionManagerLookup;
import org.hibernate.HibernateException;
@@ -42,4 +43,8 @@
public String getUserTransactionName() {
throw new UnsupportedOperationException( "jndi currently not implemented for these
tests" );
}
+
+ public Object getTransactionIdentifier(Transaction transaction) {
+ return transaction;
+ }
}
Show replies by date