Hi,
I have a doubt regarding JDBC-ODBC bridge driver.
Upto what I know in type1 driver you make a call to
jdbc api. This call gets translated to odbc call and then database specific native call.
What i am not able to undesrtand :
step 1 :- Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //will load the driver.
step2:- DriverManager.getConnection("jdbc:odbc:dsn");//This statement will internally calls the connect method of driver that is on the JdbcOdbcDriver class.
Step2 will rerurn me the connection object that means the object of the class that is providing implementation to the Connection interface.
My question is who will provide this class with the type1 driver.
Thanks