// do the query
ASTDbPath dbpath = new ASTDbPath(buf.toString());
ASTList listExp = new ASTList(objects);
SelectQuery sel = new SelectQuery(destEnt, new ASTIn(dbpath, listExp));
sel.setFetchingDataRows(true);
List results = context.performQuery(sel);
// sort the resulting objects into individual lists for each source object