Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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