.


Divya

Type 4 (fully java driver) JDBC Driver with Example


Type 4 driver converts JDBC call into database specific call by using database native protocol provided by database vendor.

Means it will directly communicate with database without having any extra components.

This driver is also called as pure java driver.Because this driver developed by only java language.

This language is also called as thin driver means very light driver.

Advantages:

  1. Plat form independent driver because it is completely developed in Java.
  2. Performance is high.
  3. We not need ODBC driver, Native libraries, Middle Ware Driver as it is directly communicate with database.

Disadvantages:

  1. It is Database dependent driver as it is directly communicate with database.
  2. This is the only limitation of type 4 driver.


.