Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-790

Provide ApplicationStatePersistenceStrategy for Hibernate entities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-hibernate
    • 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.

      Attachments

        Activity

          People

            igor.drobiazko Igor Drobiazko
            igor.drobiazko Igor Drobiazko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: