}
public void testSimpleFind() throws Exception {
EntityManager em = emf.createEntityManager();
try {
ChildUncacheable c = new ChildUncacheable();
em.getTransaction().begin();
em.persist(c);
em.getTransaction().commit();
assertEquals(c, em.find(ChildUncacheable.class, c.getId()));
em.clear();
assertEquals(c.getId(), em.find(ChildUncacheable.class, c.getId()).getId());
} finally {
em.close();
}
}