The moose likes JDBC and Relational Databases and the fly likes JDBC Drivers Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC Drivers Doubt" Watch "JDBC Drivers Doubt" New topic

JDBC Drivers Doubt

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200

I am only used JDBC-OBDC driver. I want to use all the remaining 3 drivers to know about it and how it's working. If anyone has how to do the coding for the remaining three drivers(native-API, net-protocl and native protocol),pls provide the same.
I have seen only the definition for this drivers. What are the differences and which one will be used more often by the programmers in the development side in the real time projects.
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
We only use thin drivers. They are fast (almost as fast as type 2 drivers) and, being written in Java, won't crash the server process.

SCJP 1.4, SCWCD 1.3, SCBCD 1.3
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Yup, as in this thread we generally prefer the highest driver type available ie Type 4 unless not available. (and never the JDBC-ODBC bridge if we can avoid it )
wood burning stoves
subject: JDBC Drivers Doubt
It's not a secret anymore!