mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user