[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6727?page=c...
]
Scott Marlow commented on HHH-6727:
-----------------------------------
AbstractEntityManagerImpl can probably change EntityManagerFactoryImpl to be transient and
do a similar dance that Steve suggested as session/sessionFactory does:
<sebersole> what session does is to serialize the name/uuid combo of the SF it
belongs to
<sebersole> and look that up on deser
serializing an EntityManager should include enough information to
later be unserialized with re-association to existing EntityManagerFactory (even on a
different machine/jvm process)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-6727
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6727
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 4.0.1
The re-association (of EM to EMF) is important, as applications expect that closing the
EntityManagerFactory, will close the EntityManager's that have been opened from the
EMF.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira