You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/05/15 12:27:59 UTC
[jira] [Commented] (JENA-943) Enable interface Transactional on
Dataset interface
[ https://issues.apache.org/jira/browse/JENA-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545278#comment-14545278 ]
Andy Seaborne commented on JENA-943:
------------------------------------
One aspect of {{Transactional}} to be reviewed is {{isInTransaction}} which is at least thread relative (if transactions are tied to threads - this is not required by this interface but is the implementation in TDB and JDBC-like connections).
> Enable interface Transactional on Dataset interface
> ---------------------------------------------------
>
> Key: JENA-943
> URL: https://issues.apache.org/jira/browse/JENA-943
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
> {{Dataset}} provides the operations of {{Transactional}} but does not provide the interface for absolute compatibility with the historical evolution of Jena2.
> In Jena3, we can enable {{Transactional}} on {{Dataset}} and introduce library code to make writing transactions easier based on Java8 idioms.
> See [dboe/transaction/Txn.java|https://github.com/afs/mantis/blob/master/dboe-transaction/src/main/java/org/seaborne/dboe/transaction/Txn.java] (AL2 code, external link).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)