[
https://issues.apache.org/jira/browse/JENA-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049126#comment-15049126
]
ASF GitHub Bot commented on JENA-1078:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/jena/pull/105
> 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
> 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)