[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6799) Hibernate EntityManager bootstrap does not ensure that ServiceRegistries are closed

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Nov 3 16:13:19 EDT 2011


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
             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: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list