This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does the Resultset Interface work

 
Rajesh Savitri
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to JDBC.
 
Rajesh Savitri
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic