This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Implementing ResultSet" Watch "Implementing ResultSet" New topic
Author

Implementing ResultSet

Prabhat Jha
Ranch Hand

Joined: Aug 13, 2007
Posts: 58
Hi,

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

Thanks,

Prabhat


Thanks,
Prabhat
SCJP 1.5, SCWCD 1.5, SCBCD 1.5
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

No.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2543
    
  10

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
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

Paul Sturrock wrote:No.


Applying the HMS Pinafore rule:

Chorus: What, never?

Captain: No, never!

Chorus: What, never?

Captain: ... Hardly ever!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Implementing ResultSet
 
It's not a secret anymore!