PersistentCollection rowCollection = persistenceContext.getCollectionLoadContext()
.getLoadingCollection( persister, collectionRowKey, rs, session.getEntityMode() );
if ( rowCollection != null ) {
rowCollection.readFrom( rs, persister, descriptor, owner );
}
}
else if ( optionalKey != null ) {
// we did not find a collection element in the result set, so we