p.setId(1);
em.persist(p);
em.flush();
em.getTransaction().commit();
Person p1 = em.find(Person.class, 1);
Map sqlCache = jstore.getQuerySQLCache();
Set keys = sqlCache.keySet();
for (Iterator iter = keys.iterator(); iter.hasNext();) {
Map cacheMap = (Map) iter.next();
//make sure there is an entry in the cache