This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Implementing ResultSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Implementing ResultSet" Watch "Implementing ResultSet" New topic

Implementing ResultSet

Prabhat Jha
Ranch Hand

Joined: Aug 13, 2007
Posts: 58

Can there be any need for implementing ResultSet if i am not a Database Driver Provider?



SCJP 1.5, SCWCD 1.5, SCBCD 1.5
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jan Cumps

Joined: Dec 20, 2006
Posts: 2562

A slight nuance to Pauls answer:

Sun has a Reference Implementation that provides a javax.sql.rowset CachedRowSet.
In essence, this RI is not a database driver, and contains a class that implements ResultSet.

(hope this explanation is not confusing. I do not understand it myself when re-reading it )

OCUP UML fundamental and ITIL foundation
Prabhat Jha
Ranch Hand

Joined: Aug 13, 2007
Posts: 58
Thanks for the response.

The bottom line it doesn't makes sense implement it.

Paul Clapham

Joined: Oct 14, 2005
Posts: 19864

Paul Sturrock wrote:No.

Applying the HMS Pinafore rule:

Chorus: What, never?

Captain: No, never!

Chorus: What, never?

Captain: ... Hardly ever!
subject: Implementing ResultSet
jQuery in Action, 3rd edition