Thursday, January 5, 2012

JDBC DRIVERS

4 types of JDBC drivers
Type 1 : JDBC-ODBC bridge
It is used for local connection.
ex) 32bit ODBC in windows
Type 2 : Native API connection driver
It is connected by the Native Module of dependent form of h/w like .dll or .so.
ex) OCI driver for local connection to Oracle
Type 3 : Network connection driver
Type 4 : Database Protocol driver
It is independent from h/w because this driver is in Java.
ex) thin driver for local/global connection to Oracle
*** Type1, type 2, and type 3 are usually used.

No comments:

Post a Comment