This content has been marked as final. Show 2 replies
Whenever you do data manipulation using the Jena Adaptor APIs (e.g., using performAdd on GraphOracleSem) the changes will be applied to the underlying RDF triples table in the database after you commit.
Thanks a lot for your very helpful answer.
I tried Jena Adaptor 2.0 with Oracle Enterprise Edition 11g release 1 and the first example in the jena adaptor readme file:
Oracle oracle = new Oracle(szJdbcURL, szUser, szPass);
Model model = ModelOracleSem.createOracleSemModel(oracle, szModelName);
I'm using Jena 2.5.6 which is highly recommanded to work with Jena Adaptor 2.0. However, this code results in a NoClassDefFoundError:
Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/jena/sparql/engine/main/OpExecutor
When I looked into the arq.jar library where this class should be, I didn't find it in version 2.5.6 of Jena but in version 2.5.7 or higher.
So when I replaced the arq.jar containing the OpExecutor class, the code is correctly executed.
Do you know anything about that?
Hope to read you again