};
if(_checkOptimization && sessionContainer.isOptimizedQuery(predicate, comparatorForward)){
throw new RuntimeException();
}
ObjectSet<ObjectB> result = sessionContainer.query(predicate, comparatorForward);
if(result.size() == 0){
throw new RuntimeException(""+result.size());
}
ObjectB prev = null;
while (result.hasNext()) {