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

Enforce AutoCloseable Semantics on Transaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 3.0.1-incubating
    • 3.1.0-incubating
    • structure

    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

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: