Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Removing a named model (backed by TDB)

$
0
0
Hello,

For some reason I just can't seem to be able to completely delete a named model from a dataset...

I initially thought of simply using removeNamedModel() - didn't work (model & statements still available).

I've searched the mailing list and found a similar (old) thread where it was recommended to do
a removeAll() which I did. This effectively empties the model but a getNamedModel() will return
the Model (albeit empty).
I even tried to do both removeAll() followed by a removeNameModel() but no success.

In case it makes a difference, I'm using TDB.

What am I doing wrong?

Cheers,
Hubert

Viewing all articles
Browse latest Browse all 5648

Trending Articles