Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-360

Flow managed persistence context propagation

    XMLWordPrintable

    Details

      Description

      Flow-managed persistence contexts should be capable of being propagated to subflows.

      Possible propagation modes:

      • requires - a persistence context should be propagated if one exists in the parent, else one should be created
      • requiresNew - never propagated, always created

      For example:

      parent flow:

      <flow>
      <attribute name="persistenceContext" value="requiresNew"/>
      <start-state id-ref="call-subflow"/>
      <subflow-state id="call-subflow" flow="subflow"/>
      </subflow>
      </flow>

      subflow:

      <flow>
      <attribute name="persistenceContext" value="requires"/>
      </flow>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              kdonald Keith Donald
              Votes:
              15 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3d
                  3d
                  Remaining:
                  Remaining Estimate - 3d
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified