[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5511) Infinispan Region.destroy() impl should call cache.stop()
Galder Zamarreno (JIRA)
noreply at atlassian.com
Tue Aug 31 11:59:18 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreno resolved HHH-5511.
-----------------------------------
Resolution: Fixed
> Infinispan Region.destroy() impl should call cache.stop()
> ---------------------------------------------------------
>
> Key: HHH-5511
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5511
> Project: Hibernate Core
> Issue Type: Bug
> Components: caching (L2)
> Affects Versions: 3.5.5, 3.6.0.Beta3
> Reporter: Galder Zamarreno
> Assignee: Galder Zamarreno
> Fix For: 3.6.0.Beta4, 3.5.6
>
>
> Q. Why doesn't Region.destroy() trigger cache.stop()?
> It should call cache.stop(). I don't think there's a use case for keeping a cache alive after SessionFactory.close() (which in turn calls Region.destroy()) has been called. SessionFactory Javadoc is clear on this:
> * Destroy this <tt>SessionFactory</tt> and release all resources (caches,
> * connection pools, etc).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list