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 Releasing sun.jdbc.rowset.CachedRowSet object. 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 "Releasing sun.jdbc.rowset.CachedRowSet object." Watch "Releasing sun.jdbc.rowset.CachedRowSet object." New topic
Author

Releasing sun.jdbc.rowset.CachedRowSet object.

Tarun Dewan
Greenhorn

Joined: Sep 05, 2002
Posts: 21
Hi All,
After utilising sun.jdbc.rowset.CachedRowSet object is it always better to execute release() method to release all contents or calling close() is sufficient for the same.
Thanks & regards,
Tarun Dewan.
Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 276
I have used sun.jdbc.rowset.CachedRowSet objects often and have always used only close() to release the connection. I believe it is sufficient.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Releasing sun.jdbc.rowset.CachedRowSet object.
 
It's not a secret anymore!