This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Dis-connected resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Dis-connected resultset" Watch "Dis-connected resultset" New topic

Dis-connected resultset


Joined: Feb 12, 2002
Posts: 1
Is there a way I could make a DB call using JDBC to any DB. Get a Statement back and then close my connection to the DB. And still have the data in the Statement.
Or, am I stuck having to transfer this data out of the ResultSets into other objects before closing the connection?
Ranch Hand

Joined: Oct 30, 2000
Posts: 94
I think you need to use CachedRowSet for this purpose. Plz checkout this article for more
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at
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.
I agree. Here's the link:
subject: Dis-connected resultset
It's not a secret anymore!