This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: Doubt in Loading Driver
 
Similar Threads
derby problem
how can find mysql database address?
jsp database
connetion java and topspeed database
Loading mechanism of Jdbc Driver