Tapestry 5
  1. Tapestry 5
  2. TAP5-790

Provide ApplicationStatePersistenceStrategy for Hibernate entities

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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
            Reporter:
            Igor Drobiazko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development