wood burning stoves 2.0*
The moose likes JDBC and the fly likes [Help] Store database table in ArrayList for lookup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "[Help] Store database table in ArrayList for lookup" Watch "[Help] Store database table in ArrayList for lookup" New topic
Author

[Help] Store database table in ArrayList for lookup

Jake Lee
Greenhorn

Joined: Apr 02, 2002
Posts: 18
I have a table in Oracle, which has 7 columns and 40 rows of entries.
I want to retrieve the whole table and store it in ArrayList for later lookup.
Anyone has some sample code for this?
Thanks a lot.
W
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
"Wishmaster",
Could you please change your display name to comply with JavaRanch's naming policy? (It's our only rule.) You can make the change quickly right here. Thanks, and welcome to JavaRanch.

Pauline
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

what have you done so far? You can find a whole lot of sample code for Oracle and jdbc here
Jamie
Jake Lee
Greenhorn

Joined: Apr 02, 2002
Posts: 18
Thanks a lot...
 
GeeCON Prague 2014
 
subject: [Help] Store database table in ArrayList for lookup