HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities

This commit is contained in:
John O'Hara 2015-11-04 11:02:25 +00:00 committed by Steve Ebersole
parent 4bfb349d16
commit 59f721a250
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public final class ImmutableEntityEntry extends AbstractEntityEntry {
final boolean lazyPropertiesAreUnfetched,
final PersistenceContext persistenceContext) {
this( status, loadedState, rowId, id, version, lockMode, existsInDatabase,
persister,disableVersionIncrement, lazyPropertiesAreUnfetched, persistenceContext );
persister,disableVersionIncrement, lazyPropertiesAreUnfetched, null );
}
public ImmutableEntityEntry(
@ -69,7 +69,7 @@ public final class ImmutableEntityEntry extends AbstractEntityEntry {
final PersistenceContext persistenceContext) {
super( status, loadedState, rowId, id, version, lockMode, existsInDatabase, persister,
disableVersionIncrement, lazyPropertiesAreUnfetched, persistenceContext );
disableVersionIncrement, lazyPropertiesAreUnfetched, null );
}
/**