Jdeveloper10g database connection

Discussions

EJB programming & troubleshooting: Jdeveloper10g database connection

  1. Hi All,

       I am trying to connect MYSQL thru Jdeveloper10g.Here i am using mysql-connector-java-3.1.3beta.tar file for JDBC connection .but i am getting this error,

    oracle.jdeveloper.cm.CMException: Unable to find driver: com.mysql.jdbc.Driver

    at oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnection(JdbcConnectionWrapper.java:120)

    at oracle.jdeveloper.cm.JdbcConnectionWrapper.getJdbcConnection(JdbcConnectionWrapper.java:181)

    at oracle.jdeveloper.cm.JdbcConnectionWrapper.getPresentation(JdbcConnectionWrapper.java:168)

    at oracle.jdevimpl.cm.dt.browser.jdbc.JdbcBrowser.openConnectionBrowser(JdbcBrowser.java:208)

    at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:210)

    at oracle.jdeveloper.cm.dt.ProgressRunnable.run(ProgressRunnable.java:165)

    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:540)

    at java.lang.Thread.run(Thread.java:534)



    Can u plz rectify my error.

    Thanks,
    Raji
  2. In ProjectSettings u have to set the classpath to
    mysql-connector-java-3.1.3beta.tar.It should work.We have to add all the jar files in ProjectSettings.

    Thanks & Regards.
    Vijaya.