Explain the role of Driver in JDBC.

Solution:

The JDBC Driver provides vendor-specific implementations of the abstract classes provided by the JDBC API. Each driver must provide implementations for the following interfaces of the java.sql package: Connection, Statement, PreparedStatement, CallableStatement, ResultSet and Driver.

0 answers