This problem seems to pop up every few months. Can't some maintainer patch
the distributed source to allow for something used this often? Especially
since the change is so small.

Regards

Michael Burschik

> -----Ursprungliche Nachricht-----
> Von: Andres Quijano - Rizonet [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 20. Januar 2004 18:25
> An: 'Apache Torque Users List'
> Betreff: RE: Criteria question...
>
>
> now that I recall, I had to patch BasePeer... I think it was (but not
> for sure, check old posts)
>
> line 1220
>
> for (int i = 0; i < orderBy.size(); i++) {
>   String orderByColumn = orderBy.get(i);
>   String alias = orderByColumn.substring(0,
> orderByColumn.lastIndexOf('
> '));
>
>   if (aliases.containsKey(alias)) {
>     orderByClause.add(orderByColumn);
>   }
>   else {
>     if (orderByColumn.indexOf('.') == -1){
>       throwMalformedColumnNameException("order by",orderByColumn);
>   }
>   ...
>
>
> e-mail me if you can't get it to work and I'll send you my
> source class.
>
> andres



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to