Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where are the actual implementations of ResultSet and other jdbc interfaces defined?

 
Raj roy
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,


The ResultSet, Connection, Statement are all interfaces in java. Where are there actual implementaions defined ?

When we call createStatement() or execuiteQuery() what subclass of those classes are returned in actual?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're part of the JDBC driver in use. You can find out the actual class name of any object by calling "getClass().getName()" on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic