Does SessionImpl look like this:
Code:
public void initializeNonLazyCollections() throws HibernateException {
if (loadCounter==0) {
log.debug( "initializing non-lazy collections");
//do this work only at the very highest level of the load
loadCounter++; //don't let this method be called recursively
try {
int size;
while( ( size=nonlazyCollections.size() ) > 0 ) {
//note that each iteration of the loop may add new elements
( (PersistentCollection) nonlazyCollections.remove(size-1) ).forceLoad();
}
}
finally {
loadCounter--;
}
}
}
Remember that read-only CVS is a few hours behind. Try updating again, till' the code looks like that!