HHH-13587 StatefulPersistenceContext#unownedCollections was almost fully lazy already

This commit is contained in:
Sanne Grinovero 2019-08-17 16:43:15 +01:00 committed by Sanne Grinovero
parent a11359524b
commit 1101727a4f
1 changed files with 1 additions and 3 deletions

View File

@ -255,9 +255,7 @@ public class StatefulPersistenceContext implements PersistenceContext {
entitySnapshotsByKey.clear(); entitySnapshotsByKey.clear();
collectionsByKey.clear(); collectionsByKey.clear();
collectionEntries.clear(); collectionEntries.clear();
if ( unownedCollections != null ) { unownedCollections = null;
unownedCollections.clear();
}
proxiesByKey = null; proxiesByKey = null;
nullifiableEntityKeys = null; nullifiableEntityKeys = null;
if ( batchFetchQueue != null ) { if ( batchFetchQueue != null ) {