| Author |
how can I have multiple return from this method?
|
sahar sa
Ranch Hand
Joined: Jul 06, 2009
Posts: 102
|
|
hi,
I want the select method to select some data from DB and then return it . but i dont know how can I return multiple or a row of data ?
can you give me an idea how can i do it?
here is the code which i used for my select query:
thnx,
Sahar.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
You will need to go through your ResultSet and assign its values to a Collection of objects.
(And you've probably already noticed, but that is a delete statement, not a select query)
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
 |
|
|
subject: how can I have multiple return from this method?
|
|
|