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 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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: How to add ODBC Driver?
 
Similar Threads
How to add oracle thin driver in NetBeans 5.0
New JDBC driver in VAJ 4
getConnection error???
Servlet and JDBC.
How to intergrate Websphere8 with eclipse?