db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helge Weissig <hel...@grajagan.org>
Subject Criteria.addAsColumn and Criteria.add{Ascending,Descending}OrderByColumn not compatible?
Date Fri, 07 Sep 2007 17:58:15 GMT
Hi there,

	I found a message in the archives dated sometime in 2003 that  
described the exact same problem I am having: if you add an alias for  
a column with Criteria.addAsColumn(), you cannot use it as a  
orderByColumn using Criteria.addAscendingOrderByColumn() or  
Criteria.addDescendingOrderByColumn() because somewhere a  
table_name.COLUMN_NAME format is enforced and a TorqueException is  
thrown. FWIW, a fix/patch was also reported: http://mail- 
archives.apache.org/mod_mbox/db-torque-user/200310.mbox/% 
3cB0EC737D3663D411868C00D0B77A8BC49DC254@nt_exchange%3e

Are there any plans of addressing this? If not, what is the process  
of providing patches? Last not least, did anyone come up with a  
different work-around? FWIW, we are using the 3.2 RC1 tagged code  
from the svn repository.

thanks,
h.

---------------------------------------------------------------------
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