Java JDBC Driver with Example

While communicate with database we have to convert the java application call for database and database call to Java application we must need a translator. This translator is nothing but JDBC Driver.

Types of driver:

There are 1000 number of driver available in java but all these driver divided into 4 categories.

  1. Type 1 Driver(JDBC-ODBC bridge driver)
  2. Type 2 Driver(Native-API driver )
  3. Type 3 Driver(Network Protocol driver)
  4. Type 4 Driver (Thin driver (fully java driver))