openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r1027706 - /openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java
Date Tue, 26 Oct 2010 19:46:42 GMT
Author: dwoods
Date: Tue Oct 26 19:46:42 2010
New Revision: 1027706

URL: http://svn.apache.org/viewvc?rev=1027706&view=rev
Log:
have test close EM

Modified:
    openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java

Modified: openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java?rev=1027706&r1=1027705&r2=1027706&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java
(original)
+++ openjpa/trunk/openjpa-persistence-locking/src/test/java/org/apache/openjpa/persistence/lockmgr/TestPessimisticLocks.java
Tue Oct 26 19:46:42 2010
@@ -106,6 +106,7 @@ public class TestPessimisticLocks extend
         em.persist(e1);
         em.persist(e2);
         em.getTransaction().commit();
+        em.close();
     }
 
     /*



Mime
View raw message