• Post Reply Bookmark Topic Watch Topic
  • New Topic

ODBC Driver

 
Vallabhaneni Suresh Kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why we can't directly connect through java to ODBC drivers
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!