wood burning stoves*
The moose likes JDBC 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
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.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Where are the actual implementations of ResultSet and other jdbc interfaces defined?
 
Similar Threads
why an Interface cannot have static method?
Implementation of Interfaces
Where can we find the implementation for Connection, Statement, ResultSet interfaces
servlets
JDBC