This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to add ODBC Driver? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to add ODBC Driver?" Watch "How to add ODBC Driver?" New topic
Author

How to add ODBC Driver?

anushree ari
Ranch Hand

Joined: Sep 30, 2002
Posts: 98
hi,
iam new to JDBC, i installed SQL and J2sdk,now the problem is i do know how to add specific driver ?
pls somebody help to figure this out,
thx


anushree
Surendran Velath
Greenhorn

Joined: Apr 23, 2003
Posts: 19
Hi Anushree,
Since you have MS SQL installed you need the JDBC driver for that database
I use AvenirDriver :
The class is: net.avenir.jdbc2.Driver
These are thin drivers and vendor specific.
Get the jar file for this driver and set your classpath to it.
Then you can use your JDBC application to interact with this database
good luck
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add ODBC Driver?