It's not a secret anymore!
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

Releasing sun.jdbc.rowset.CachedRowSet object.

Tarun Dewan

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.
I agree. Here's the link:
subject: Releasing sun.jdbc.rowset.CachedRowSet object.
It's not a secret anymore!