home |contents |previous |next |seek  

 

 

 

 

 

     

 

1.3               Type of Drivers

 

Type-1 

JDBC-to-ODBC Bridge Driver – connects Java to a Microsoft ODBC
(Open Database Connectivity) data source. This driver requires the ODBC
driver to be installed on the client computer and configuration of the ODBC
data source.

 

Type-2

Native-API, Part Java Drivers – enable JDBC programs to use databasespecific
APIs (normally written in C or C++) that allow client programs to
access databases via the Java Native Interface. This driver translates
JDBC into database-specific code.

 

Type-3

JDBC-Net Pure Java Drivers – take JDBC requests and translate them
into a network protocol that is not database specific. These requests are
sent to a server, which translates the database requests into a databasespecific
protocol.

 

Type-4

Native-protocol Pure Java Drivers – convert JDBC requests to
database-specific network protocols, so that Java programs can connect
directly to a database.

 

 

 

Copyright©2008. All rights reserved.