File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SPs returning multiple resultsets

 
Lee Sha
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My application uses a DB2 Stored proc from an another interfacing system for doing a search. The Stored proc returns two resultsets. Does anybody know how to traverse through both the resultsets and get the data.

Thanks,
Lee...
 
Lee Sha
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. I used getMoreResults() on statement object.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic