How to return an ArrayList from a database query?
Posted
by Bill
on Stack Overflow
See other posts from Stack Overflow
or by Bill
Published on 2010-06-15T01:01:48Z
Indexed on
2010/06/15
1:02 UTC
Read the original article
Hit count: 296
I am querying a database for a web service using the Jersey JAX-RS. I can return a single row as XML or JSON, but I can't figure out how to return a multiple records.
Do I use an ArrayList? If so how? Does anyone have an example of how to do this?
Thanks
© Stack Overflow or respective owner