Hello Jena/TDB developers

I found some issue (seems not to be in JIRA).

If I do

RDFNode any=null;
for (Statement statement : model.listStatements(object, property, any).toList())
          model.remove(statement);

All is fine and it works as expected, cool so far :)

But when I do

model.removeAll(object, property, any);

the statements are wiped correctly from the model yet the registered StatementListener is NOT called for the removed statements.

This occurs in TDB backed graphs. For memory models the issue didn't come up.


BTW: We implemented a global cache (for nodes and blocks) for TDB 0.9.4. This is useful when you have plenty of TDB stores within the same machine. The cache is shared by all stores and holds data stored in the "traditional files" (We leave the transactional files untouched at the moment). The cache is only implemented for direct file mode (seems to be the better mode if you want to manage thousands of stores on a single machine in parallel). If you are interested in, we would integrate our changes to the official branch for one of the future TDB releases. Just let us know.

Best
André


--
Dr. André Lanka  *  0178 / 134 44 47  *  http://dr-lanka.de

Reply via email to