prep 3.3.0.CR1 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14459 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
36de6500ed
commit
1df5918f93
|
@ -25,6 +25,7 @@ package org.hibernate.test.cache.jbc2.functional.util;
|
|||
|
||||
import java.util.Properties;
|
||||
import javax.transaction.TransactionManager;
|
||||
import javax.transaction.Transaction;
|
||||
|
||||
import org.hibernate.transaction.TransactionManagerLookup;
|
||||
import org.hibernate.HibernateException;
|
||||
|
@ -48,4 +49,8 @@ public class DualNodeTransactionManagerLookup implements TransactionManagerLooku
|
|||
public String getUserTransactionName() {
|
||||
throw new UnsupportedOperationException( "jndi currently not implemented for these tests" );
|
||||
}
|
||||
|
||||
public Object getTransactionIdentifier(Transaction transaction) {
|
||||
return transaction;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ package org.hibernate.test.tm.jbc2;
|
|||
import java.util.Properties;
|
||||
|
||||
import javax.transaction.TransactionManager;
|
||||
import javax.transaction.Transaction;
|
||||
|
||||
import org.hibernate.HibernateException;
|
||||
import org.hibernate.transaction.TransactionManagerLookup;
|
||||
|
@ -53,4 +54,8 @@ public class BatchModeTransactionManagerLookup
|
|||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public Object getTransactionIdentifier(Transaction transaction) {
|
||||
return transaction;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue