Reputation: 587
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?
Upvotes: 2
Views: 113
Reputation: 58772
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
Upvotes: 4