Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

copying resultset objects

 
jacq carballo
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!
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.
jacq
 
Dakshinamurthy Ramachandran
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic