File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Where are the actual implementations of ResultSet and other jdbc interfaces defined? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Where are the actual implementations of ResultSet and other jdbc interfaces defined?" Watch "Where are the actual implementations of ResultSet and other jdbc interfaces defined?" New topic
Author

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

Raj roy
Greenhorn

Joined: Jan 11, 2013
Posts: 18
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

Joined: Mar 22, 2005
Posts: 42952
    
  73
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where are the actual implementations of ResultSet and other jdbc interfaces defined?