[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6897) serialization of the EntityManager should be possible

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Dec 15 09:44:19 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44601#comment-44601 ] 

Steve Ebersole commented on HHH-6897:
-------------------------------------

That is exactly what core does for SF.  If there is a name for the SF, that is used.  If not its UUID is used.  

The problem in core is that the name is the {{hibernate.session_factory_name}} setting, which is explicitly a JNDI name.  Ideally I'd like those notions split so that you could name a SF without having to push it into JNDI.  So maybe {{hibernate.session_factory_name}} and a new {{hibernate.session_factory_name.bindable}} which is true/false.

> serialization of the EntityManager should be possible
> -----------------------------------------------------
>
>                 Key: HHH-6897
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6897
>             Project: Hibernate Core
>          Issue Type: Task
>    Affects Versions: 4.0.0.CR7
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 4.0.1
>
>
> http://pastie.org/3018508 contains the NotSerializableException: org.hibernate.service.internal.StandardServiceRegistryImpl exception and http://pastie.org/3018879 describes some of contained values that don't appear to be serializable.
> I would like to see this fixed in either 4.0.0.Final or a 4.0.1.Final (if that could happen in time).  I'll have more information soon, regarding fix version.

--
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