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 copying resultset objects 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 "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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: copying resultset objects
It's not a secret anymore!