JDBC driver and Driver

srinivas chaitanya :

I'm preparing for Oracle Certified Java Proffesiona (OCP) certification. This is the first time I have come across JDBC. In the book which I am preparing for certification (Kathy Sierra is one of authors), it is mentioned as:

"The collection of the implementation classes is called the JDBC driver. A JDBC driver (lowercase “d“) is the collection of classes required to support the API, whereas Driver (uppercase “D“) is one of the implementations required in a driver."

What is the author trying to mention about the Driver? Is Driver a class and is it a mandate to implement Driver in JDBC driver?

user7294900 :

Driver is a base interface for JDBC driver

The interface that every driver class must implement.

For example for OracleDriver

Implemented Interfaces: java.sql.Driver

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=130443&siteId=1