Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.2.0
-
None
Description
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.