This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The ResultSet present in the Java SDK is a interface. It has the methods that are not implemented. But we are able to invoke menthods that help us in retriving the values from the Data retrieved from the Database. Where does this implementations come from?
Originally posted by rajeshas: Where does this implementations come from?
They come from the JDBC-Driver you use. It contains the concrete implementation for this interface. Like for example the MM.MySQL-JDBC Driver contains the following Class: public class ResultSet extends org.gjt.mm.mysql.ResultSet implements java.sql.ResultSet cheers Hartmut
Originally posted by rajeshas: For the Admin's note: This question could be closed.
Nah, that's far too sensible. but... "rajeshas", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp. We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements. Thanks. Dave