HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities
This commit is contained in:
parent
4bfb349d16
commit
59f721a250
|
@ -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