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:
Marc Prud'hommeaux 2007-01-10 23:18:23 +00:00
parent 6055a34b42
commit 6eae1a37ae
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class TestDataCacheOptimisticLockRecovery
EntityManager em = emf.createEntityManager(); EntityManager em = emf.createEntityManager();
em.getTransaction().begin(); em.getTransaction().begin();
em.createQuery("delete from OptimisticLockInstance"); em.createQuery("delete from OptimisticLockInstance").executeUpdate();
OptimisticLockInstance oli = new OptimisticLockInstance("foo"); OptimisticLockInstance oli = new OptimisticLockInstance("foo");
try { try {