Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-35

Allow nested transaction

      We should allow to start a new nested write transaction within an already open write transaction.

      • When a nested transaction is committed, the modifications should only propagate to next outer transaction.
      • When the inner transaction is rolled back, only the modifications of that inner transaction should be discarded and the modifications of any previous nested transactions as well as the previous modifications in the outer transaction should remain.
      • When an outer transaction is rolled back, then all modifications of all inner transactions should be discarded.

            Assignee:
            Unassigned Unassigned
            Reporter:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: