mirror of https://github.com/apache/openjpa.git
Fixed bug where we were creating the delete query in the setUp(), but never actually executing it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6055a34b42
commit
6eae1a37ae
|
@ -53,7 +53,7 @@ public class TestDataCacheOptimisticLockRecovery
|
|||
|
||||
EntityManager em = emf.createEntityManager();
|
||||
em.getTransaction().begin();
|
||||
em.createQuery("delete from OptimisticLockInstance");
|
||||
em.createQuery("delete from OptimisticLockInstance").executeUpdate();
|
||||
|
||||
OptimisticLockInstance oli = new OptimisticLockInstance("foo");
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue