public void setUp() {
super.setUp(CLEAR_TABLES, Entity1.class, Entity2.class);
em = emf.createEntityManager();
em.getTransaction().begin();
em.persist(new Entity1(1, CONST_NAME, CONST_INT));
em.persist(new Entity1(2, CONST_NAME+" Changed", CONST_INT+1));
em.persist(new Entity1(3, CONST_NAME+" Changed 2", CONST_INT+2));
em.getTransaction().commit();
em.getTransaction().begin();
}