EclipseDatabase - use external oracle jars at runtime Anonymous - Jan 17, 2005 - 05:48 AM Post subject: use external oracle jars at runtime
Hi!
I see no way out. I am trying to create a plugin that updates blob fields in a oracle 9i database.
Therefore I need a cast to oracle types (it does not work with java.sql types) as follows:
x OracleResultSet rs = (OracleResultSet)stm.executeQuery("select *
from VR_RULET_FILES where (filename = 'threeblob') FOR UPDATE");
At x some strange Exception occurs: Unhandled exc. in event loop. Reason oracle/jdbc/driver/OracleResultSet
Although the import of oracle.jdbc.driver.OracleResultSet works at build time it seems not to be resolved at runtime. I also specified oin the plugins xml to export the oracle jar file containing these classes (it's ojdbc14.jar).
The jar is added to the build path of the plugin as well so it is resolved at build time.
Has anybody got an idea how to tell a plugin what its classes are at runtime besides what I have already tried out?
Please help me!
thanx in advanve
choney
Anonymous - Apr 06, 2005 - 11:03 AM Post subject: RE: use external oracle jars at runtime
Am using this statement to import oracle.jdbc.driver.*; I have already added oracle14.jar to my lib dir, and also reference it to my project. When I compile am still getting and "error.java.lang.ExceptionInInitializerError
java.lang.Class.forName0(Native Method)" Any ideas?