HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry()
This commit is contained in:
parent
da4593de1b
commit
caf902dde9
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue