I just started using Torque recently. I wrote a simple program to do a select all from a table and it gave me the following error during runtime:
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.torque.util.C
riteria.getSelectColumns()Lorg/apache/commons/collections/StringStack;
at com.otto.om.BaseDrawPeer.doSelectVillageRecords(Unknown Source)
at com.otto.om.BaseDrawPeer.doSelectVillageRecords(Unknown Source)
at com.otto.om.BaseDrawPeer.doSelect(Unknown Source)
at com.otto.om.DrawPeer.doSelectAll(Unknown Source)
at ViewOtto.main(Unknown Source)
My method for select all:
public static List doSelectAll() throws Exception
{
Criteria crit = new Criteria();
return doSelect(crit);
}I run out of ideas. Anybody can help?
I am using Torque 3.1 beta 1 with MySQL database, jdk1.4.2-b28.
Thanks. Ee-Ming
_________________________________________________________________ Keep track of Singapore stock prices. http://www.msn.com.sg/money/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
