I am writing program using a jdbc driver that should connect to Oracle 8. All of my calls below failed with "No suitable driver" or an exception showing that the specified driver is wrong.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
Class.forName("sun.jdbc.JdbcDriver");
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Where is the problem ? Do I have to create a driver through Admin Tools, or is my specification in the program wrong ?
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
Class.forName("sun.jdbc.JdbcDriver");
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Where is the problem ? Do I have to create a driver through Admin Tools, or is my specification in the program wrong ?