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 67e631dfb3
commit 26048f220d

View File

@ -52,7 +52,7 @@ public ImmutableEntityEntry(
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 ImmutableEntityEntry(
final PersistenceContext persistenceContext) {
super( status, loadedState, rowId, id, version, lockMode, existsInDatabase, persister,
disableVersionIncrement, lazyPropertiesAreUnfetched, persistenceContext );
disableVersionIncrement, lazyPropertiesAreUnfetched, null );
}
/**