Andy,

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

 
 
Tkx,
Jim



________________________________
 From: Andy Seaborne <[email protected]>
To: [email protected] 
Sent: Saturday, April 14, 2012 1:18 PM
Subject: Re: Loading OWL and TDB
 
On 13/04/12 18:40, Jim Reilly wrote:
> Andy,
>
> Great, it worked, thanks for the help!!
>
> Now, will the issue be fixed or is closing the model the correct solution 
> (I'm new to Jena).
> If it has to be closed, I read those issues about having to possibly 
> reopen/recreate and such,
> what does that really mean... (issues involved)

As you're using TDB without transactions, you should do a 
TDB.sync(dataset) before exiting.  (model.close is secretly doing it; 
TDB.sync(dataset) isbetter style, it is really the dataset that is being 
sync'ed, not just the model)

    Andy

>
>
>
> Tkx,
> Jim

Reply via email to