A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Java in General
Joined: Dec 04, 2002
Mar 25, 2003 06:58:00
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!
Joined: Sep 29, 2000
Mar 25, 2003 07:34:00
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:
CachedRowSet is an abstract class
handle empty recordset
try...catch...finally w/ a result set
question about garbage collection
How to Execute Stored Procedure?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015