public void testGetObjectsById() {
OpenJPAEntityManager pm = getPM();
ArrayList idlist = new ArrayList();
idlist.add(_id);
idlist.add(_id2);
Collection pcs = pm.findAll(RuntimeTest1.class, idlist);
assertEquals(2, pcs.size());
Iterator iter = pcs.iterator();
assertEquals("STRING", ((RuntimeTest1) iter.next()).getStringField());
assertEquals("STRING2", ((RuntimeTest2) iter.next()).getStringField());
endEm(pm);