Under JDBC, which of the following are the responsibilities of the Connection
object (Choose all that apply)?
A.
Creating Statement instances.
B.
Obtaining DatabaseMetadata objects.
C.
Controlling transactions
D.
Setting isolation levels
Explanation:
1. The Connection itself is responsible for several areas including
2. Creating Statement, PreparedStatement, and CallableStatement (used with stored
procedures) instances.
3. Obtaining DatabaseMetadata objects.
4. Controlling transactions via the commit() and rollback() methods.
5. Setting the isolation level involved in transactions.