Re: Relationship & Sort Ordering

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Fri Feb 19 2010 - 15:18:08 EST

  • Next message: Andrey Razumovsky: "Re: Relationship & Sort Ordering"

    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 <jfbaldwi..arthlink.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
    



    This archive was generated by hypermail 2.0.0 : Fri Feb 19 2010 - 15:18:57 EST