Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where can we find the implementation for Connection, Statement, ResultSet interfaces

 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi All,

can anybody tell me ,Where can we find the implementation for Connection, Statement, ResultSet interfaces.

Since these are the interfaces , where the implementaion code written for these interfaces.

thanks in advance

Kishan
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Database drivers provide the implementations. Most of the database driver jar files will only contain the compiled class files. But if you look at hsql driver, it should also have the java source files.

HTH.
 
Rajasekar Elango
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gopal,

The jdbc/odbc implementation's for these interface are found in runtime library (rt.jar in jre/lib).


Regards,
Raja
 
Scott Selikoff
author
Saloon Keeper
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mind if I ask, what do you need it for? The purpose of JDBC is that you never need to see the implementation since it can vary among databases. Are you attempting to write your own JDBC driver? Is there a specific database server you want information about?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic