cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Dombrosky <dom...@gmail.com>
Subject Order By Expression
Date Tue, 16 Mar 2010 05:11:17 GMT
Is there any way to use sort expressions in a query?  Something like
"ORDER BY column = id"?  I get the error "Unsupported ordering
expression" when trying to execute a query with this in it.

Also, it looks like I might be able to do this using in-memory
sorting, but the Ordering(Expression sortExpression, ...) methods are
deprecated.  So what's the preferred way to sort on expressions in
Cayenne?

-Dave

Mime
View raw message