which of the following establishes a JDBC connection?

Given a JDBC data source named myDataSource, which of the following establishes a JDBC
connection?

Given a JDBC data source named myDataSource, which of the following establishes a JDBC
connection?

A.
Connection con = myDataSource.open();

B.
Connection con = ConnectionManager.getConnection(myDataSource);

C.
Connection con = new Connection(myDataSource);

D.
Connection con = myDataSource.getConnection();



Leave a Reply 0

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