Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-805

Enforce AutoCloseable Semantics on Transaction

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 3.0.1-incubating
    • Fix Version/s: 3.1.0-incubating
    • Component/s: structure
    • Labels:

      Description

      TINKERPOP3-764 unified semantics of the Transaction.close() method. The original thought was to deprecate close but discussions on the dev mailing list:

      http://mail-archives.apache.org/mod_mbox/incubator-tinkerpop-dev/201508.mbox/%3CCAA-H4380Hc9H8XU7hx%2BwsXRG_cBqLwYDuEk7HiOgwj-xe8CLkg%40mail.gmail.com%3E

      made it apparent that it was better to implement AutoCloseable on Transaction and further enforce those semantics, specifically - enforce the default close behavior as "rollback" through tests.

        Attachments

          Activity

            People

            • Assignee:
              spmallette stephen mallette
              Reporter:
              spmallette stephen mallette
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: