[
https://issues.apache.org/jira/browse/TAP5-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Drobiazko closed TAP5-790.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.2.0.0
> 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
> Assignee: Igor Drobiazko
> Fix For: 5.2.0.0
>
>
> 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.