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:
Steve Ebersole 2008-03-18 07:40:44 +00:00
parent 36de6500ed
commit 1df5918f93
2 changed files with 10 additions and 0 deletions

View File

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

View File

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