HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()

This commit is contained in:
Steve Ebersole 2015-11-17 15:31:11 -06:00
parent da4593de1b
commit caf902dde9
1 changed files with 1 additions and 2 deletions

View File

@ -691,13 +691,12 @@ public class DefaultLoadEventListener extends AbstractLockUpgradeEventListener i
entity,
subclassPersister,
LockMode.NONE,
referenceCacheEntry.areLazyPropertiesUnfetched(),
referenceCacheEntry.getVersion(),
session
);
}
subclassPersister.afterInitialize( entity, referenceCacheEntry.areLazyPropertiesUnfetched(), session );
subclassPersister.afterInitialize( entity, session );
statefulPersistenceContext.initializeNonLazyCollections();
}