From: Erik Brakkee Date: Tue, 27 Jul 2010 20:47:19 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.7~154 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=61fd20248bc9aa218b8903321cd22cfaa653340d;p=utils --- diff --git a/test/enterprise/src/main/java/org/wamblee/test/transactions/TransactionProxyFactory.java b/test/enterprise/src/main/java/org/wamblee/test/transactions/TransactionProxyFactory.java index e8d08483..d6d47992 100644 --- a/test/enterprise/src/main/java/org/wamblee/test/transactions/TransactionProxyFactory.java +++ b/test/enterprise/src/main/java/org/wamblee/test/transactions/TransactionProxyFactory.java @@ -20,11 +20,13 @@ import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; +import java.util.logging.Level; import javax.persistence.EntityManager; import org.wamblee.general.ThreadSpecificProxyFactory; import org.wamblee.test.persistence.JpaBuilder; +import org.wamblee.test.persistence.LoggingTransactionResultCallback; import org.wamblee.test.persistence.JpaBuilder.JpaUnitOfWork; /** @@ -94,7 +96,7 @@ public class TransactionProxyFactory { ENTITY_MANAGER.set(oldEm); } } - }); + }, new LoggingTransactionResultCallback(Level.INFO)); } }