Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

drivers

 
Smitha Prasad
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what exactly does a driver do?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic