[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5983) Entiy actions contain non-transient references to session and entity causing inconsistencies after serialization

Gail Badner (JIRA) noreply at atlassian.com
Wed Mar 9 07:06:08 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-5983.
------------------------------

    Resolution: Fixed

Fixed in git hibernate-core master.

> Entiy actions contain non-transient references to session and entity  causing inconsistencies after serialization
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-5983
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5983
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>            Reporter: Gail Badner
>            Assignee: Gail Badner
>             Fix For: 4.0.0.Alpha1
>
>
> Actions contain non-transient references to session, entity, collection causing inconsistencies after serialization.
> Inconsistencies include:
> - session fields in actions are different from the session field in the ActionQueue containing those actions
> - entity instances, PersistenCollection objects, and state arrays in actions are copies of what is present in the PersistentContext
> These action fields should be made transient. After deserialization, these fields should be initialized by doing lookups in the PersistenceContext.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list