Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2568

JDBC Message Store Needs @Transactional Annotations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2 M4 Sprint 4, 2.2 M4
    • Component/s: JDBC Support
    • Labels:
      None

      Description

      JDBC Message Store manipulates 2 (3 in 2.2) tables. If it is invoked outside of a transaction there is a (small) chance of creating integrity problems.

      Methods updating multiple tables should be annotated with @Transactional with REQUIRED propagation.

      Work around is to start a transaction before invoking elements backed by a JDBC message store.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oleg.zhurakousky@springsource.com Oleg Zhurakousky
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: