[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6727) serializing an EntityManager should include enough information to later be unserialized with re-association to existing EntityManagerFactory (even on a different machine/jvm process)
Scott Marlow (JIRA)
noreply at atlassian.com
Wed Dec 14 23:40:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44585#comment-44585 ]
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
More information about the hibernate-issues
mailing list