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

Provide ApplicationStatePersistenceStrategy for Hibernate entities

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-hibernate
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development