q = broker.newQuery(JPQLParser.LANG_JPQL,
"select a.name,a.age from "
+ CacheObjectA.class.getSimpleName()
+ " a where a.name = :n AND a.age = :a");
q.setCandidateExtent(broker.newExtent(CacheObjectA.class, false));
start = System.currentTimeMillis();
assertInCache(q, inCache, new Object[]{ ORIG_NAME,
new Integer(ORIG_AGE) });
l = (List) q.execute(new Object[]{ ORIG_NAME,
new Integer(ORIG_AGE) });