aspose file tools*
The moose likes Java in General and the fly likes ResultSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "ResultSet" Watch "ResultSet" New topic
Author

ResultSet

Donald Wynn
Greenhorn

Joined: Dec 04, 2002
Posts: 29
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

Joined: Sep 29, 2000
Posts: 8521
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.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ResultSet