A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
How to convert from database to Java Collection?
Joined: Aug 31, 2007
Feb 26, 2008 22:18:00
how to persist data from a database to a
i have a table in oracle and want to do some processing on it in java. how to get it in collections
[ February 26, 2008: Message edited by: David O'Meara ]
Joined: Apr 14, 2004
Feb 27, 2008 05:24:00
There is no "get results as collection" method in
. You will need to iterate through a
adding each record to whichever Collection implementation you want.
It is sorta covered in the
JavaRanch Style Guide
subject: How to convert from database to Java Collection?
scenario based question on core java
This name right?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015