From 1df5918f936294d844e67b45db4e06e5ac456c86 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 18 Mar 2008 07:40:44 +0000 Subject: [PATCH] prep 3.3.0.CR1 release git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14459 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../functional/util/DualNodeTransactionManagerLookup.java | 5 +++++ .../test/tm/jbc2/BatchModeTransactionManagerLookup.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/util/DualNodeTransactionManagerLookup.java b/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/util/DualNodeTransactionManagerLookup.java index fc48154b97..040bd8f691 100644 --- a/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/util/DualNodeTransactionManagerLookup.java +++ b/cache-jbosscache2/src/test/java/org/hibernate/test/cache/jbc2/functional/util/DualNodeTransactionManagerLookup.java @@ -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; + } } diff --git a/cache-jbosscache2/src/test/java/org/hibernate/test/tm/jbc2/BatchModeTransactionManagerLookup.java b/cache-jbosscache2/src/test/java/org/hibernate/test/tm/jbc2/BatchModeTransactionManagerLookup.java index 19089e4227..20dec22f36 100755 --- a/cache-jbosscache2/src/test/java/org/hibernate/test/tm/jbc2/BatchModeTransactionManagerLookup.java +++ b/cache-jbosscache2/src/test/java/org/hibernate/test/tm/jbc2/BatchModeTransactionManagerLookup.java @@ -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; + } + }