JDBC Driver Types

Leave a Comment

There are four types of JDBC drivers and those are -

Type 1 driver (JDBC-ODBC bridge)

These drivers are used for testing JDBC applications against ODBC data source. These are slowest of all the drivers.

Type 2 driver (Partial Java driver)

These drivers use native database API for data access. These drivers allow the use of wrapper classes.

Type 3 driver (Pure Java driver for accessing middleware server)

This driver is written in Java language only. It first of all accesses the middle level server which in turn invokes the database.

Type 4 driver (Pure Java driver for direct access to database)

This driver is also written in Java language only. It is most commonly used driver and designed for specific vendor's databases. This driver is most efficient among all the other JDBC drivers.

0 comments:

Post a Comment