Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Register Driver

 
Erwin Morales
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
Anyone can say me what means "Register the driver"?, where is registred?
thnxaLot
[ August 27, 2004: Message edited by: Erwin Morales ]
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for answer and tips Julian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic