aspose file tools*
The moose likes JDBC and the fly likes how to retrieve each row by make each columns as objects ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to retrieve each row by make each columns as objects ?" Watch "how to retrieve each row by make each columns as objects ?" New topic
Author

how to retrieve each row by make each columns as objects ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 437
hi, good day, say for example if the resultSet return 2 rows of records

row 1 : name1, age1
row 2 : name2, age2

is it possible we can make it save to object for each columns ?
for example , name1 in one object, age1 as another object also for other as well and each row columns then save into List

can we do that ? thank you for your guidance
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Yes.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to retrieve each row by make each columns as objects ?
 
Similar Threads
TableModel Problems
cross-referenced Map?
saving multiple rows
Concatenating textfield names with ${status.index}
How to handle a list in JSF 2