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
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:
http://www.atlassian.com/software/jira