Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1348

PersistenceContext is not "untouched" on destory

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: 1.3.0.ALPHA
    • Component/s: Core
    • Labels:
      None

      Description

      I have a persistence context that I wish to only be created within a nested conversation and destroyed when that nested conversation ends.

      However, after my nested conversation ends and my PersistenceContext destroyed it is being recreated in my outer conversation when PassivatedEntity.createPassivatedEntity iterates through all of the "touched" PersistenceContexts.

      This could be fixed by "untouching" PersistenceContexts when in the @Destory method of ManagedPersistenceContext.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shane.bryzak Shane Bryzak
                Reporter:
                youngm youngm
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: