Originally posted by Sujith Kanaparthi:
Hi kooskuntla venkat,
The following line of code
Class.forName("MyDriver");
will load the Driver with name MyDriver and also registers it with DriverManager by calling DriverManager.registerDriver().There is no need for you to register that driver explicitly by calling DriverManager.registerDriver() because Class.forName is doing both the things for you.
Regards Sujith