Provide ApplicationStatePersistenceStrategy for Hibernate entities 
-------------------------------------------------------------------

                 Key: TAP5-790
                 URL: https://issues.apache.org/jira/browse/TAP5-790
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-hibernate
    Affects Versions: 5.2.0.0
            Reporter: Igor Drobiazko


Persisting a hibernate entity in HttpSession is not good idea because the 
entity becomes detached from the Hibernate session.
It would be nice to have a ApplicationStatePersistenceStrategy which stores 
only the primary key of the entity into the session.
This strategy should make use of the class  PersistedEntity like 
EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to