3. • It is used to loading the driver objects and
creating the new database connection objects
4. • This class represents driver manager service
and the registerDriver() in this class is useful
to register given jdbc driver class object with
driver manger service
6. getConnection()
public static Connection getConnection(String url, String user,
String password) throws SQLException
{
}
• DriverManager.getConnection ( ) : This method return you an object of
connection. This is used to built a connection between url and database.
• Attempts to establish a connection to the given database URL.
The DriverManager attempts to select an appropriate driver from the set
of registered JDBC drivers.