//q.setOrdering("name ascending");
Collection results = (Collection) q.getResultList();
assertEquals(2, results.size());
Iterator itr = results.iterator();
EagerOuterJoinPC pc = (EagerOuterJoinPC) itr.next();
assertEquals("1", pc.getName());
assertEquals(2, pc.getStringList().size());
assertEquals("1.1", pc.getStringList().get(0));
assertEquals("1.2", pc.getStringList().get(1));
pc = (EagerOuterJoinPC) itr.next();
assertEquals("2", pc.getName());
assertEquals(2, pc.getStringList().size());
assertEquals("2.1", pc.getStringList().get(0));
assertEquals("2.2", pc.getStringList().get(1));
assertTrue(!itr.hasNext());
pm.close();
}