Uploaded image for project: 'Red Hat OpenBridge'
  1. Red Hat OpenBridge
  2. MGDOBR-462

Bridge/ProcessorServices: Improve split of create/delete methods X(..) and doX(..)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • OpenBridge Sprint 216

      When we use to trigger Work immediately, when scheduled, we kept the database related code inside a separate doXXX(..) transactional method. However now we've removed the code triggering Work we no longer need to the split.

      When I was looking at it I thought it best to ensure:-

      1. ALL related database operations are in the same transaction for each operation
      2. The transactional methods are as short as possible

      I therefore kept two methods.

              manstis@redhat.com Michael Anstis
              manstis@redhat.com Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: