Which of the following methods finds the maximum number of connections that a specific driver can obtain?

Options
- Database.getMaxConnections
- Connection.getMaxConnections
- DatabaseMetaData.getMaxConnections
- ResultSetMetaData.getMaxConnections


CORRECT ANSWER : DatabaseMetaData.getMaxConnections

Discussion Board
MaxConnections

DatabaseMetaData.getMaxConnections - Retrieves the maximum number of concurrent connections to this database that are possible. The interface is implemented by the driver vendors which let the users know the capabilities of a Database Management System (DBMS) in combination with the driver based on JDBCTM technology ("JDBC driver") that is used with it.

Information is usually returned by methods in the interface and it applies to the capabilities of a particular driver and a particular DBMS which is working together.

Rohit Sharma 09-21-2014 06:51 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement