File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Register 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 "Register Driver" Watch "Register Driver" New topic

Register Driver

Erwin Morales

Joined: Feb 26, 2004
Posts: 8
Hi All!
Anyone can say me what means "Register the driver"?, where is registred?
[ August 27, 2004: Message edited by: Erwin Morales ]

Erwin Morales<br />Ciudad de Mexico/Mexico City
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Hi Erwin,

"Register the driver" means load a class that implements the java.sql.Driver interface in the JVM. This is referred to as registering the Driver with the DriverManager.

Here is an excerpt from the Javadoc for java.sql.Driver:

When a Driver class is loaded, it should create an instance of itself and register it with the DriverManager. This means that a user can load and register a driver by calling

For more information see Sun's JDBC Tutorial or browse the Javadoc for the java.sql package.

Hope that helps.

Erwin Morales

Joined: Feb 26, 2004
Posts: 8
thanks for answer and tips Julian
I agree. Here's the link:
subject: Register Driver
It's not a secret anymore!