by, 03-10-2012 at 08:35 AM (612 Views)
Kinds of drivers provided by JDBC are also known as client side adapters. At the client’s machines, such drivers are installed. Request conversions from Java programs into protocol are done by them which are understandable by DBMS.
Commercial as well as free drivers are present for most of the databases so that they could be used along with the Java programs. Such drivers come in these given categories.
- Type 1: Native code of ODBC driver which is locally available is called by Type 1 drivers.
- Type 2: On client side, database vendor native library is called by Type 2 drivers.
- Type 3: Type 3 drivers are considered to be pure java based drivers. These drivers talk with database & server side middleware.
- Type 4: They are considered as pure java based drivers which use database native protocol.