nerdexam
Oracle

1Z0-804 · Question #158

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

The correct answer is E. Connection F. SQLException G. DriverManager. 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…

Building Database Applications with JDBC

Question

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

Options

  • ATime
  • BDate
  • CStatement
  • DRuleSet
  • EConnection
  • FSQLException
  • GDriverManager

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    14% (6)
  • D
    5% (2)
  • E
    72% (31)

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 G: DriverManager is the basic service for managing a set of JDBC drivers.

Topics

#JDBC driver#Connection#SQLException#DriverManager

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice