(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 27 Jul 2010 20:47:19 +0000 (20:47 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
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));
         }
 
     }