Uploaded image for project: 'Hibernate OGM'
  1. OGM-465

Provide API for retrieving a log of all executed/failed operations of a transaction cycle

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0.Beta1
    • Component/s: core
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      When working with a non-transactional stores, there should be a way to find out about the executed and failed grid dialect operations of a transaction cycle. This allows to take appropriate action such as performing compensating operations, re-try the failed operations etc.

      Use cases:

      As a user of OGM, upon an exception during flush(),

      • UC-1.1: I want to log all operations applied so far and abort the processing of the flush cycle
        Example: Create a file with applied changes, and let someone manually take the required actions
      • UC-2.1: I want to skip the failed operation for certain exception types and continue further processing of the flush cycle
        Example: Ignore a duplicted record during importing a list of orders
      • UC-2.1.1: I want to skip the failed operation for certain exception types and entity types and continue further processing of the flush cycle
        Example: Ignore a duplicated order record but not a duplicated customer record

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: