This content has been marked as final.
Show 1 reply
-
1. Re: How to iterate through the collection
gurkavcu Jun 16, 2010 9:53 AM (in response to anitha.nagani.raj.gmail.com)List<Object> resultList=getResultList(); for (Iterator iterator = resultList.iterator(); iterator.hasNext();) { // Fetching the row value Object[] o = (Object[]) iterator.next(); // Reach the fields like List<Contract> contractList=(List<Contract>) o[index of field]; }