This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread 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


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
 
GeeCON Prague 2014
 
subject: Doubt in Loading Driver