This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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?
Hartmut Ludwig
Ranch Hand
Joined: Aug 31, 2002
Posts: 51
posted
0
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
Hi Hartmut Ludwig, Thanks for the answer. For the Admin's note: This question could be closed. Thanks Rajesh [ September 15, 2002: Message edited by: rajeshas ]
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