This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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 ResultSet adding each record to whichever Collection implementation you want.
I agree. Here's the link:
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