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

Change default Session flush mode in HibernateFlowExecutionListener from MANUAL to COMMIT

    Details

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

      Description

      Session flush mode is currently being set to MANUAL in HibernateFlowExecutionListener. MANUAL mode conflicts with Spring Framework transaction mechanism as it changes the mode to AUTO when it starts a transaction. AUTO mode is not adequate for flow scoped Sessions.

      If the flush mode is COMMIT, the transaction mechanism keeps the setting making it a better default setting for flow scoped Sessions.

        Attachments

          Activity

            People

            • Assignee:
              kdonald Keith Donald
              Reporter:
              mnoda Mauricio Noda
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: