Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32823

Add a builder to TransactionHelper for creating the needed transactional context

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 2023.x, 2025.x
    • Component/s: Core, Runtime
    • Release Notes Summary:
      TransactionHelper#runInSeparateTransaction methods was added
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #118, nxplatform #119, nxplatform #120, nxplatform #121
    • Story Points:
      3

      Description

      We often have the case we want to commit the current transaction and start a new one (generally a longer one), but we're missing convenient method in TransactionHelper to do that.

      We will benefit from this common mechanism by adding the TransactionHelper#runInSeparateTransaction methods which commit the current transaction (if exist), start a new one, do the work, commit the later, and eventually start a new transaction.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kleturc Kevin Leturc
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: