File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Getting MEAN with Mongo, Express, Angular, and Node
this week in the
JDBC and Relational Databases
Joined: Nov 13, 2006
Nov 18, 2006 07:11:00
what is the difference in using Class.forName or DriverManager.registerDriver(...)
Joined: Jun 22, 2005
Nov 18, 2006 07:49:00
>what is the difference in using Class.forName or >DriverManager.registerDriver(...)
Usually in the static init driver code of Class.forName will call DriverManager.registerDriver(...) meothod. You should use Class.forName.
I agree. Here's the link:
What is the difference between Class.forName() and DriverManager.registerDriver() ?
difference between different types of loading the drivers
class . forName() Vs DriverManager . registerDriver
Better way to register a driver
Use of Class.forName()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015