Google News
logo
JDBC - Interview Questions
What Is The Fastest Type Of JDBC Driver?
JDBC driver performance will depend on a number of issues :
 
* The quality of the driver code,
* The size of the driver code,
* The database server and its load,
* Network topology,
* The number of times your request is translated to a different API.

In general, all things being equal, you can assume that the more your request and response change hands, the slower it will be. This means that Type 1 and Type 3 drivers will be slower than Type 2 drivers (the database calls are make at least three translations versus two), and Type 4 drivers are the fastest (only one translation).
Advertisement