views:

20

answers:

0

I want know about how to correct driver connection exception. I got that exception as drivermanager.getconnection exception. Does any one know please answer me. I use ODBC Bridge connection and MS ACCESS Database.

 Class.forName("sun.jdbc.odbc.JdbcOdbc");
 Connection con = DriverManager.getConnection("jdbc:odbc:mydb", "", "");

exception occured at second line of above program.