Hi Andy,

thanks for your answer.

> Which version of SDB and which database are you using? (It looks like
> posgresql)  What would be helpful is a complete, minimal example, especially
> if it works on one of the embedded DBs like H2 or Derby.
SDB maven artifact ver.1.3.4, PostgreSQL DB.

Regarding per-graph (TDB) and overall (SDB) prefixes storing, it is
indeed a bit strange - although TDB and SDB are "just 2 different
backends", the semantics of model.read are so different in each case.
In my view, per-graph prefix storing for SDB would definitely be less
confusing.

> The prefixes are being set because you are parsing directly into database
> backed models.  If you read into a memory model then add that , the prefixes
> aren't copied over.
>
>   Model m = FileManager.get().read(..)
>   model1.add(m) ;
>   m = FileManager.get().read(..)
>   model2.add(m) ;
>
This works like a charm for me. Thanks for your help

Petr

Reply via email to