Tuesday, March 27, 2001 04:46 PM
the excact statement is
Connection con = DriverManager.getConnection("String url, String user, String password);
DiverManager class in turn make a connection with the url for you, and return a connection object, if it is sucessfull.
Thursday, March 22, 2001 03:55 AM
We are using the Class.forName option which is calling the necessary class from the com.sun package given by the jdk for establishing the database conectivity. So this method calls a class which actaully implements the Connection Interface.