On 05/03/14 21:00, Joakim Soderberg wrote:
Hi,
The jena documentation (
http://jena.apache.org/documentation/tdb/java_api.html )
mentions that it is important to close the dataset, but in the example code
(http://jena.apache.org/documentation/tdb/tdb_transactions.html)  there is
no dataset.close, only dataset.end. Would an dataset.end be enough?

Yes.

The Java API doc is BT (Before Transactions) and should be checked/cleaned.

When using transactions, there is no need to .close, indeed it's better not to as the internal system is managing datasets. .close still exists as doing anything for non-transactional/compatibility usage.

        Andy

/j


Reply via email to