[hibernate-issues] [Hibernate-JIRA] Created: (HHH-7112) session.clear does not clear StatefulPersistenceContext.naturalIdResolutionCacheMap

Guenther Demetz (JIRA) noreply at atlassian.com
Fri Feb 24 02:57:49 EST 2012


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

        


More information about the hibernate-issues mailing list