Two Laptop Bag
The moose likes JDBC and Relational Databases and the fly likes drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "drivers" Watch "drivers" New topic


Smitha Prasad
Ranch Hand

Joined: Apr 02, 2002
Posts: 41
what exactly does a driver do?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Drivers convert the java API calls into equivalent vendor specific database calls.
The database API's are usually written in native languages like C,C++.
Drivers are responsible for converting the parameters passed from java (and vice-versa)into their database equivalents..passing error messages etc. Drivers act as a middle layer between your java applications and database.

subject: drivers