Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] jdbc driver packaged as plugin

Hi

I am trying to package JDBC driver as a separate plugin. The JDBC lib jar file is packaged in this plugin and the plugin.xml exports the packages as

Export-Package: oracle.jdbc,
oracle.jdbc.driver

and this plugin is consumed by other plugin as

Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
oracle.dbtools.dtp.jdbc.driver

also have the following in plugin.xml

      <driverTemplate
            createDefault="true"
            emptyJarListIsOK="true"
-
-
/>

but when I try ping the db connection () it is resulting

java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver

Any thoughts ?

Anthos


Back to the top