On 16/04/12 16:33, Jim Reilly wrote:
Andy,

I tried the TDB.sync without the model.close, but that did not work
(meaning no data shown after a JVM re-start).

Lack of clarity on my part.

There is a bug in the 0.9.0 release whereby sync of a dataset was not getting passed down to the storage correctly (this is JENA-234). dataset.close should do a sync if the dataset has not been used for transactions at all, that is, it's running in 0.8 style. The dataset implementation in TDB 0.9.0 behaves non-transactionally until used in some transaction - this is to maximise compatibility with existing code.

Unfortunately, JENA-234 means that .close was not causing a sync and sync was not getting propagated properly. Fixed now in development builds and svn.

The development build 0.9.1-incubator-SNAPSHOT (via [1] as described in [2])

        Andy

[1] https://repository.apache.org/content/repositories/snapshots/org/apache/jena/

[2] http://incubator.apache.org/jena/download/maven.html

Reply via email to