JDBC is a software component enabling a java application to interact with a database.For connecting with databases, JDBC requires drivers for each database. The JDBC driver established the connection to the database and implements the protocols for transferring the queries and result between client and database.
The four Type of JDBC drivers are.
TYPE 1-JDBC-ODBC Bridge driver.
TYPE 2- Native -API, Partly Java driver.
TYPE 3- Network-Protocol driver, pure Java driver.
TYPE 4: Native-protocol fully java technology- enabled driver.