[
https://issues.apache.org/jira/browse/JENA-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052748#comment-15052748
]
ASF GitHub Bot commented on JENA-1078:
--------------------------------------
Github user afs commented on the pull request:
https://github.com/apache/jena/pull/105#issuecomment-163936807
This causes about 12 warnings from the test suite (Eclipse and maven).
Please do add tests and check the test suite runs. I will check them and
fix or silence each one but it would be nice to be at least notified that it
would happen.
> 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)