}
}else if(prev.getVal2() < current.getVal2() ){
JODBIndexingAgent indexingAgent = sessionContainer.getIndexingAgent(ObjectA.class.getDeclaredField("_val2") );
long prevID = sessionContainer.getPersistenceStatistics(prev).getObjectID();
long currentID = sessionContainer.getPersistenceStatistics(current).getObjectID();
int prevPosition = indexingAgent.linearIdSearch(prevID);
int currentPosition = indexingAgent.linearIdSearch(currentID);
throw new RuntimeException(" i="+i+" -->"+prevID+" "+prevPosition+" "+prev.getVal2()+" "+ currentID+" "+currentPosition+" "+current.getVal2());
}
}
prev = current;