You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Jason Meredith <ja...@hotmail.com> on 2003/09/25 09:07:07 UTC
Help - com.workingdogs.village.Record
Chaps
I have searched this list to death and still cannot find the help I need.
I want to know how to display on a JSP the list of Record ojects from
com.workingdogs.village.Record.
I have found loads of posts on the following examples, which will out put
what I want to my console, but I am really stuck after that.
Criteria crit = new Criteria();
crit.addSelectColumn(mainProductPeer.MAIN_PRODUCT_SEQID);
List villageList = mainProductPeer.doSelectVillageRecords(crit);
List SeqIDList = new Vector();
Iterator it = villageList.iterator();
while (it.hasNext())
{
SeqIDList.add(new Integer(it.next().getValue(1).asInt()));
}
Examples please.
Regards
Jason
_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org