OPENJPA-2269: Fix testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392928 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Richard G. Curtis 2012-10-02 14:33:47 +00:00
parent 9f128e3286
commit 3a6ffd834f
1 changed files with 1 additions and 10 deletions

View File

@ -24,18 +24,9 @@ import javax.persistence.EntityManagerFactory;
import org.apache.openjpa.persistence.test.AbstractPersistenceTestCase;
public class TestTableGeneratorMultithreadedInitialization extends AbstractPersistenceTestCase {
Object[] props = new Object[] { Dog.class
// , "openjpa.Log", "SQL=trace"
};
Object[] props = new Object[] { Dog.class, CLEAR_TABLES };
public void setUp() throws Exception {
EntityManagerFactory emf = createNamedEMF(getPersistenceUnitName(), props);
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
em.createNativeQuery("DROP TABLE ID_Gen").executeUpdate();
em.createNativeQuery("DROP TABLE dog").executeUpdate();
em.getTransaction().commit();
emf.close();
}
public void test() throws Exception {