Is Class.forName(Drivername) the only way to load a driver? Can I instantiate the Driver and use the object of the driver?
Created May 4, 2012
Joe Sam Shirah Yes, you can use the driver directly. Create an instance of the driver and use the connect method from the Driver interface. Note that there may actually be two instances created, due to the expected standard behavior of drivers when the class is loaded.