This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc" Watch "jdbc" New topic
Author

jdbc

Soumayajit Hazra
Greenhorn

Joined: Nov 13, 2006
Posts: 8
what is the difference in using Class.forName or DriverManager.registerDriver(...)
Wei Dai
Ranch Hand

Joined: Jun 22, 2005
Posts: 86
>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: http://aspose.com/file-tools
 
subject: jdbc