HHH-1786 : more WebSphere JTA garbage;
copyright headers clean-up git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14451 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
9a024e2cdf
commit
e4958dcc31
|
@ -25,6 +25,7 @@ package org.hibernate.test.tm;
|
|||
|
||||
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 class TransactionManagerLookupImpl implements TransactionManagerLookup {
|
|||
public String getUserTransactionName() {
|
||||
throw new UnsupportedOperationException( "jndi currently not implemented for these tests" );
|
||||
}
|
||||
|
||||
public Object getTransactionIdentifier(Transaction transaction) {
|
||||
return transaction;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue