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:
Steve Ebersole 2008-03-18 07:02:20 +00:00
parent 9a024e2cdf
commit e4958dcc31
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}