This content has been marked as final. Show 3 replies
In the latest Jena Adaptor release, there is a dropSemanticModel API in oracle.spatial.rdf.client.jena.OracleUtils class.
It is a static method. The parameters are straightforward.
Thanks for ur reply. Now i am using the Jena Adapter 2.5.6 and Oracle 126.96.36.199.
I tried with Jena Adapter 2.6.2. and Oracle 188.8.131.52, I couldn't remove the model from data base, as my OracleUtils class didn't have the method dropSemanticModel(oracle, moselName).
I couldn't find the jenadrv_sdordfclient.jar in which OracleUtils.java class exists.
Where does the jenadrv_sdordfclient.jar come from? Is it from Jena Adapter or from Oracle.
i followed the instructions to set up the environment, in that it was mentioned that we have to copy ojdbc.jar, from ORACLE_HOME/jdbc/lib to Jena-DIR/lib.
Does it come from Oracle.?
For that do i need to upgrade my Oracle 11.1 to 11.2 ?
please help me.
I have the same problem and I found solution:
in class ModelRDB you have method .remove() this method removes model from DB.
check it: http://jena.sourceforge.net/javadoc/com/hp/hpl/jena/db/ModelRDB.html
hope this helps