File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to add ODBC Driver?" Watch "How to add ODBC Driver?" New topic

How to add ODBC Driver?

anushree ari
Ranch Hand

Joined: Sep 30, 2002
Posts: 98
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,

Surendran Velath

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:
subject: How to add ODBC Driver?
It's not a secret anymore!