[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5983) Actions contain non-transient references to session, entity, collection causing inconsistencies after serialization

Gail Badner (JIRA) noreply at atlassian.com
Fri Mar 4 15:40:08 EST 2011


Actions contain non-transient references to session, entity, collection 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