aspose file tools*
The moose likes JDBC 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
Bookmark "Register Driver" Watch "Register Driver" New topic
Author

Register Driver

Erwin Morales
Greenhorn

Joined: Feb 26, 2004
Posts: 8
Hi All!
Anyone can say me what means "Register the driver"?, where is registred?
thnxaLot
[ 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.

Jules
Erwin Morales
Greenhorn

Joined: Feb 26, 2004
Posts: 8
thanks for answer and tips Julian
 
wood burning stoves
 
subject: Register Driver