aspose file tools*
The moose likes JDBC 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
Bookmark "JDBC Drivers Doubt" Watch "JDBC Drivers Doubt" New topic
Author

JDBC Drivers Doubt

Mark Henryson
Ranch Hand

Joined: Jul 11, 2005
Posts: 200
Hi,

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
Rancher

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 )
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC Drivers Doubt