This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes class . forName() Vs DriverManager . registerDriver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "class . forName() Vs DriverManager . registerDriver" Watch "class . forName() Vs DriverManager . registerDriver" New topic
Author

class . forName() Vs DriverManager . registerDriver

Sundaralingam Subramaniyan
Greenhorn

Joined: Sep 07, 2007
Posts: 11
hi

what is the difference between Class.forName() and DriverManager.registerDriver()?

how Class.forName() really works.....

i need response urgently....
kindly assist...
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
i need response urgently....


Really? What for? Have you read through any of the previous discussions on this subject, e.g. these ones?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: class . forName() Vs DriverManager . registerDriver