]
Guenther Demetz commented on HHH-7112:
--------------------------------------
In Hibernate 4.1.1 the naturalIdResolutionCacheMap has moved to class
NaturalIdXrefDelegate
but the problem remains the same: the resources regarding NaturalId First-Level-Cache are
not getting freed by session.clear()
session.clear does not clear
StatefulPersistenceContext.naturalIdResolutionCacheMap
-----------------------------------------------------------------------------------
Key: HHH-7112
URL:
https://hibernate.onjira.com/browse/HHH-7112
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 4.1.0
Reporter: Guenther Demetz
Priority: Minor
Original Estimate: 1h
Remaining Estimate: 1h
According documentation session.clear clears the persistent context, so also
StatefulPersistenceContext.naturalIdResolutionCacheMap should be cleared, otherwise we
could run into memory retention problems.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: