On 31/03/14 01:15, Joakim Soderberg wrote:
Hi,
I hear that using named models are best practice. But I can't find any
examples in the new Jena tutorials. Would it be to recommendable to keep a
reference to the data set and then create a named model using:
Dataset ds = TDBFactory.createDataset("datase/t");
Model model = dataset.getNamedModel("namedModel");
or is it better to use Model Maker?
For datasets, use dataset.getNamedModel (ModelMakers are more for
creating specific interesting models and don't tie to datasets).
Andy