• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResultSet

 
Donald Wynn
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to pass a ResultSet rs to two different methods how can I do that? Currently when I try to do that the ResultSet rs gets passed ok to the first method but not to the second one. Help!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your getResults() method you could call a passToFirstPlace(resultSet) method and then call a passToSecondPlace(resultSet) method. The getResults() method would not itself return anything.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic