List<RT> rv = (List) session.getAll(projection.getType(), ids.toArray(new ID[ids.size()]));
@Test public void GetAll() { System.out.println("Get both notes"); List<Note> notes = session.getAll(Note.class, note1Id, note2Id); assertEquals(2, notes.size()); }
@Test public void GetAll_Empty_Result() { System.out.println("Get all notes, empty result"); assertEquals(Arrays.asList(null, null, null), session.getAll(Note.class, new BID(), new BID(), new BID())); }