db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject Re: order by column problem
Date Wed, 12 Mar 2003 15:47:03 GMT
The addAscendingOrderByColumn() method works for me, although I only use 
it once on a single Criteria. Does it work for you if you use it just 
once, as below?

Criteria criteria = new Criteria();
criteria.addAscendingOrderByColumn(AffinityinfoPeer.CYCLE);
//criteria.addAscendingOrderByColumn(AffinityinfoPeer.CLIENTNUMBER);
return AffinityinfoPeer.doSelect(criteria);

Eric


Mime
View raw message