[sqlquery] Can't seem to find my jdbc jar/library
I am not using the alternate location for jdb jars, but have put the
oracle jar directly under ks-sql/lib directory. However, the plugin
indicates that no driver is available. How can I debug this?
Please sign in to leave a comment.
I had the same problem (not sure why it happened, it
used to work) so I just used the Alternative Location
and pointed it to ]]>/plugins/ks-sql/lib. Worked fine
after that.
Vince.
Sorry, but this feature is broken in version 1.3.9. It will be fixed in the next release.
Currently only the alternate location should work.
If you want to fix this bug on your version you have to change the line
private static ClassLoader classLoader=DatabaseDriverManager.getClassLoader();
in the class com.kiwisoft.db.driver.DatabaseDriverManager
to
private static ClassLoader classLoader=DatabaseDriverManager.class.getClassLoader();
Barry Kaplan wrote: