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 Thu, 13 Mar 2003 14:51:37 GMT
Hi Fred

Could you send the relevant part of your schema? Maybe the column type 
is affecting things.

Eric

Fred Gerson wrote:
> Hey Eric,
> 
> Thank you very much for your reply. I tried your suggestion below (for
> both the CYCLE and the CLIENTNUMBER columns) but still got the same
> problem.
> 
> Any suggestions of where I can start to look to try and debug?
> 
> Thanks a lot,
> Fred
> 
> 
> On Wed, 12 Mar 2003, Eric Emminger wrote:
> 
> 
>>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
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 


Mime
View raw message