HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities
This commit is contained in:
parent
67e631dfb3
commit
26048f220d
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue