[ 
https://issues.apache.org/jira/browse/JENA-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052754#comment-15052754
 ] 

ASF GitHub Bot commented on JENA-1078:
--------------------------------------

Github user ajs6f commented on the pull request:

    https://github.com/apache/jena/pull/105#issuecomment-163937760
  
    I had no idea that throwing WARNINGs in the test suite was any kind of 
issue. ERRORs, yes, but not WARNINGs. That's a policy that might be recorded 
somewhere, perhaps 
[here](https://jena.apache.org/getting_involved/reviewing_contributions.html)?


> 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)

Reply via email to