// expected
}
OpenJPAEntityManagerSPI em = emf.createEntityManager();
em.getTransaction().begin();
AllFieldTypes type = new AllFieldTypes();
em.persist(type);
em.getTransaction().commit();
Object oid = em.getObjectId(type);
assertEquals(Id.class, JPAFacadeHelper.toOpenJPAObjectId(cmd, oid).getClass());
}
}