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

Allow multiple persistenceContext configurations

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, the HibernateFlowExecutionListener and the JpaFlowExecutionListener restrict you to only have one persistenceContext configuration. For instance, if you have two different sessionFactories, you can only configure webflow to integrate with one of them. Being able to have more than one, and allow the flow to specify which could be very valuable.

      I am attaching a patch which simply makes the persistence context attribute settable in the two listeners. This accomplishes the above without changing current behavior. The user would simply create a second listener, specifying a different attribute name.

        Attachments

          Activity

            People

            • Assignee:
              kdonald Keith Donald
              Reporter:
              deraj123 Jared Bunting
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: