The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Reply

Posted by Elangovan on November 20, 2000 at 5:50 AM

Hai Gajju,

ClassNotFoundException is thrown because of the unavailability of the
Driver Class : oracle.jdbc.driver.OracleDriver.

This driver is not provided as part of Personal Oracle.

If this driver class is not available, try to use the JDBC-ODBC bridge itself.

Driver Class: sun.jdbc.odbc.JdbcOdbcDriver
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver") ;
Connection con = DriverManager.getConnection("jdbc:odbc:DataSourcename","username","password") ;


With Regards,
Elangovan.E



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us