File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
copying resultset objects
Joined: Feb 10, 2002
Mar 25, 2002 00:44:00
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.
Joined: Mar 09, 2002
Mar 25, 2002 03:08:00
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
consuquences of not closing ResultSet?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015