This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes registering the database driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "registering the database driver" Watch "registering the database driver" New topic
Author

registering the database driver

biswajit ray
Ranch Hand

Joined: Nov 30, 2005
Posts: 30
why can�t the following code do the job of �locate, load, and link�?

org.gjt.mm.mysql.Driver driver = new org.gjt.mm.mysql.Driver();

will it locate , load and link by executing the static block? what is the problem in it?
sathish kumar
Ranch Hand

Joined: Feb 14, 2007
Posts: 47
What are you trying to do?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: registering the database driver
 
It's not a secret anymore!