I think the assumption in that example is just that you might not be done with the transaction, but Andy can clarify if needed.
--- A. Soroka The University of Virginia Library > On Feb 28, 2017, at 10:42 AM, George News <[email protected]> wrote: > > On 28/02/2017 16:12, A. Soroka wrote: >> Have you looked at: >> >> https://jena.apache.org/documentation/rdfconnection/ >> https://jena.apache.org/documentation/txn/ > > I didn't know about the new Java 8 interface. Pretty cool ;) > > BTW in https://jena.apache.org/documentation/txn/transactions_api.html I > think there is an error in the second piece of code, isn't it missing a > dataset.end() to finish the previously open transaction? Or are the read > transactions automatically closed? > >> --- >> A. Soroka >> The University of Virginia Library >> >>> On Feb 28, 2017, at 10:05 AM, George News <[email protected]> wrote: >>> >>> >>> In this sense, one option for including in Jena could be to enable the >>> option to create a QueryExecution with transaction included, in order to >>> avoid some issues like that. >> >>
