Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ResultSet object vs. ArrayList object

843854Jan 22 2004 — edited Sep 5 2006
Dear Fellow Java Developers:

I was wondering if it was possible to convert a ResultSet object that returns the findings of a query into an ArrayList object? Is this possible? If so, how? I am asking because I feel an ArrayList would allow the use of an Iterator object which is a more powerful and efficient way to parse through the results.

Any help is appreciated, and thanks to all that reply.

Take care.
Sincerely;
Fayyaz
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2006
Added on Jan 22 2004
14 comments
1,063 views