This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Doubt in Loading Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Doubt in Loading Driver" Watch "Doubt in Loading Driver" New topic
Author

Doubt in Loading Driver

kavitha vasu
Ranch Hand

Joined: Feb 22, 2007
Posts: 70
Hi Friends

1) Please let me know what is difference between

Class.formName("sun.jdbc.odbc.JdbcOdbcDriver");

and

Driver d=new sun.jdbc.odbc.JdbcOdbcDriver()

2) What is the purpose of registerDriver() method?


Thanks in advance
Kavitha
 
 
subject: Doubt in Loading Driver