File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to retrieve each row by make each columns as objects ?
 
Similar Threads
cross-referenced Map?
saving multiple rows
Concatenating textfield names with ${status.index}
TableModel Problems
How to handle a list in JSF 2