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 ODBC Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "ODBC Driver" Watch "ODBC Driver" New topic

ODBC Driver

Vallabhaneni Suresh Kumar
Ranch Hand

Joined: Mar 01, 2004
Posts: 68
Why we can't directly connect through java to ODBC drivers
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

You can connect via the JDBC-ODBC bridge.

ODBC drivers are usually written in native code which is the reason that you can't access them directly. The JDBC-ODBC bridge allows you to access them indirectly however.

The performance and functionality isn't often great when you use JDBC-ODBC bridge however, you'd be better off using a pure Java driver if possible.
I agree. Here's the link:
subject: ODBC Driver
It's not a secret anymore!