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

Change default EntityManager flush mode in JpaFlowExecutionListener from AUTO to COMMIT

    Details

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

      Description

      When creating a new EntityManager in JpaFlowExecutionListener, flush mode is left in AUTO mode. Auto-flushing is not adequate for flow scoped EntityManagers. Setting it to COMMIT right after creation would be better.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: