cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: Relationship & Sort Ordering
Date Fri, 19 Feb 2010 20:18:08 GMT
Hi,

Unfortunately this is not yet supported. See
http://issues.apache.org/jira/browse/CAY-477.
You'll need to order list every time it is returned (e.g. using
Ordering.orderList())

2010/2/19 Joe Baldwin <jfbaldwin@earthlink.net>

> I need to sort-order a list returned from a to-many relationship.  It is
> logical that this ordering be applied in all cases.
>
> Question:
> Is there a simple way to apply this by modifying the SelectQuery associated
> with the relationship or should I just sort order the list each time it is
> returned?
>
> (If I missed it in the docs please send me a link.)
>
> Thanks,
> Joe
>
>


-- 
Andrey

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message