Which three objects must a vendor provide implementations in its JDBC driver?

Which three objects must a vendor provide implementations in its JDBC driver?

Which three objects must a vendor provide implementations in its JDBC driver?

A.
Time

B.
Date

C.
Statement

D.
RuleSet

E.
Connection

F.
SQLException

G.
DriverManager

Explanation:
E:When the method getConnection is called, the DriverManager will attempt to locate a suitable driver from amongst those loaded at initialization and those loaded explicitly using the same classloader as the current applet or application.
F: An SQLException is an exception that provides information on a database access error or other errors.
G: DriverManager is the basic service for managing a set of JDBC drivers.
Reference: The Java Tutorials,Class DriverManager



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Luiz

Luiz

I think the answer is C, D (ResultSet), E.

Explanation:
All JDBC drivers implement the four important JDBC classes: Driver, Connection, Statement, and ResultSet.