Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC implementions

 
vijay kumar
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JDBC API the connection,statement,preparedStatement all are interfaces.
So where the implementations to theses methods reside
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The driver.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4007
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
The driver.


Or whatever you want to program. You could make your own implementation that uses text files instead of a database. It's all up to you. Keep in mind though that despite the API not all drivers are created equal. Some are written entirely in java (thin) and others are written in native db languages. Some support 100% of the commands in the API, others do not (often with 'not supported' exceptions).
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic