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();
collectionsByKey.clear();
collectionEntries.clear();
if ( unownedCollections != null ) {
unownedCollections.clear();
}
unownedCollections = null;
proxiesByKey = null;
nullifiableEntityKeys = null;
if ( batchFetchQueue != null ) {