}
public void testSimplePk() throws Exception {
getDbHelper().deleteAll("FieldPersistenceEntity");
FieldPersistenceEntity o1 = new FieldPersistenceEntity();
getEntityManager().persist(o1);
assertEquals(0, o1.idField());
getEntityManager().getTransaction().commit();
assertTrue(o1.idField() > 0);
assertEquals(o1.idField(), getDbHelper().getInt("FieldPersistenceEntity", "id"));
}