[
https://issues.apache.org/jira/browse/TINKERPOP3-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP3-805.
---------------------------------------
Resolution: Implemented
Fixed via:
https://github.com/apache/incubator-tinkerpop/commit/54b114bf6932503026ce777576255d817ef9118e
Note the test renaming and change from using {{rollback()}} for the default of
{{Transaction.close()}} - those are the potential breaking changes.
> Enforce AutoCloseable Semantics on Transaction
> ----------------------------------------------
>
> Key: TINKERPOP3-805
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-805
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: structure
> Affects Versions: 3.0.1-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Labels: breaking
> Fix For: 3.1.0-incubating
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)