Well, you have to populate POJOs with the values retrieved from database while iterating the loop and add each of them to the list unless you are using a O/R Mapping framework like Hibernate which will load POJOs for you from the database.

Ritika Misra
Ranch Hand

Joined: Jun 17, 2009
Posts: 30

posted Jun 19, 2009 04:06:18

0

i know that ..
but as you can see my out put .....
this data which i get...is coming from Access database so i m not getting in the regular format through which i can populate my POJO..