[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7112) session.clear does not clear StatefulPersistenceContext.naturalIdResolutionCacheMap
Guenther Demetz (JIRA)
noreply at atlassian.com
Thu Apr 12 07:55:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46256#comment-46256 ]
Guenther Demetz commented on HHH-7112:
--------------------------------------
Pull request: https://github.com/pb00067/hibernate-orm/commit/bffc40d50c386fe61f73eab7e9fb5873659be9f9
> 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: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list