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.6.0.Beta3, 3.5.5
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira