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/12/09 19:27:11 UTC

[jira] [Resolved] (JENA-1078) TxnMem does not log a warning when commit() omitted.

     [ https://issues.apache.org/jira/browse/JENA-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-1078.
---------------------------------
    Resolution: Fixed
      Assignee: A. Soroka

> TxnMem does not log a warning when commit() omitted.
> ----------------------------------------------------
>
>                 Key: JENA-1078
>                 URL: https://issues.apache.org/jira/browse/JENA-1078
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: Jena 3.0.1
>            Reporter: Andy Seaborne
>            Assignee: A. Soroka
>             Fix For: Jena 3.1.0
>
>
> Example:
> {noformat}
>       Dataset ds = DatasetFactory.createTxnMem() ;
>       //Dataset ds = TDBFactory.createDataset() ;
>       ds.begin(ReadWrite.WRITE) ;
>       //ds.commit();
>       ds.end() ;
> {noformat}
> whereas a read transaction can be:
> {noformat}
>       Dataset ds = DatasetFactory.createTxnMem() ;
>       ds.begin(ReadWrite.READ) ;
>       ds.end() ;
> {noformat}
> See javadoc for {{org.apache.jena.sparql.core.Transactional}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)