Originally posted by vinothk khannan:
Need Some More Explanation
Or hyper links to explanatory docs
Let me try. If you are using an Oracle driver to connect to Oracle database, the implementation for ResultSet interface is provided by the Oracle driver.
For example, if you look into the ojdbc.jar file, you can find a class called OracleResultSet(*) which implements java.sql.ResultSet.
So, when you say
what you get is is an object of type OracleResultSet, which has the implementation for all the methods defined in the java.sql.ResultSet interface.
If you are using someother database, say XYZ, the respective driver also will have a concrete implementation of all necessary interfaces.
Hope that helps.
(*) I'm not sure about the name of the class. I'm just guessing.