(no commit message)
authorErik Brakkee <erik@brakkee.org>
Tue, 27 Jul 2010 20:47:19 +0000 (20:47 +0000)
committerErik Brakkee <erik@brakkee.org>
Tue, 27 Jul 2010 20:47:19 +0000 (20:47 +0000)
test/enterprise/src/main/java/org/wamblee/test/transactions/TransactionProxyFactory.java

index e8d08483731f3139a53e24bd30b4d7bf1bb577d5..d6d47992983d13023d41f72627c3d96676879faf 100644 (file)
@@ -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<T> {
                             ENTITY_MANAGER.set(oldEm);
                         }
                     }
-                });
+                }, new LoggingTransactionResultCallback(Level.INFO));
         }
 
     }