This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "registering the database driver" Watch "registering the database driver" New topic

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�? driver = new;

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 agree. Here's the link:
subject: registering the database driver
It's not a secret anymore!