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:
- Plat form independent driver because it is completely developed in Java.
- Performance is high.
- We not need ODBC driver, Native libraries, Middle Ware Driver as it is directly communicate with database.
Disadvantages:
- It is Database dependent driver as it is directly communicate with database.
- This is the only limitation of type 4 driver.