File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes copying resultset objects 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 "copying resultset objects" Watch "copying resultset objects" New topic

copying resultset objects

jacq carballo
Ranch Hand

Joined: Feb 10, 2002
Posts: 42
is there a way to duplicate a resultset object? i mean, if i have multiple threads that needs to access a db; i made a query and want to use the the resultset at the same time.
Dakshinamurthy Ramachandran

Joined: Mar 09, 2002
Posts: 16
I'm not clear about your question. If you want to make duplicate resultset, try out using CachedRowSet & further explore the ways to make a copy of it (Ofcourse it is disconnected result set, not a true resultset).
I agree. Here's the link:
subject: copying resultset objects
It's not a secret anymore!