]
Emmanuel Bernard resolved HHH-6799.
-----------------------------------
Resolution: Fixed
Assignee: Emmanuel Bernard
Hibernate EntityManager bootstrap does not ensure that
ServiceRegistries are closed
-----------------------------------------------------------------------------------
Key: HHH-6799
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6799
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Reporter: Emmanuel Bernard
Assignee: Emmanuel Bernard
Fix For: 4.0.0.next
In Ejb3Configuration, a ServiceRegistry is created (based on the builder optionally
passed by the user) but it is not destroyed.
Configuration solves the problem by adding a SessionFactoryObserver which closes the
ServiceRegistry upon SessionFActory closing. I'll apply the same logic for HEM.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: