"openjpa.jdbc.QuerySQLCache", "true",
CLEAR_TABLES);
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
QueryTest1 pc = null;
for (int i = 0; i < 10; i++) {
pc = new QueryTest1();
if (i < 5)
pc.setNum(4);
else
pc.setNum(i + 10);
pc.setDate(new java.util.Date(9999));
em.persist(pc);
}
em.getTransaction().commit();
em.close();
}