File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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