File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in Loading Driver
 
Similar Threads
Loading mechanism of Jdbc Driver
connetion java and topspeed database
derby problem
jsp database
how can find mysql database address?