throw new RemoteException("",e);
}
}
public IServerQueryResult runQuery(QueryNode query, long[] localActiveObjects) throws IOException{
LongVector remoteActiveObjects=null;
if(localActiveObjects!=null){
remoteActiveObjects = new LongVector(localActiveObjects);
}
query.setSession(_sessionContainer.getSession());
try {
LongVector additionalRejected = new LongVector();
JODBQueryList objectSet = (JODBQueryList) query.runQuery(remoteActiveObjects,additionalRejected);
long[] result = objectSet.getAllObjectIds();
long[] additionalRejectedObjects = null;
if(additionalRejected.size() > 0){
additionalRejectedObjects = additionalRejected.getDataAsArray();
}
return new ServerQueryResult(additionalRejectedObjects,result);
} catch (IllegalClassTypeException e) {
throw new JodbIOException(e);
}