Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 67661 invoked from network); 19 Feb 2010 19:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 19:39:36 -0000 Received: (qmail 69189 invoked by uid 500); 19 Feb 2010 19:39:36 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 69153 invoked by uid 500); 19 Feb 2010 19:39:35 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 69143 invoked by uid 99); 19 Feb 2010 19:39:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 19:39:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.86.89.62] (HELO elasmtp-dupuy.atl.sa.earthlink.net) (209.86.89.62) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 19:39:25 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=U2uYXzqCuaXCpardBD43lZxLQyxZTiNWrSIbts+3wTjaJRbOFXDCIb8YK3kAzem/; h=Received:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [24.253.146.147] (helo=[10.0.1.2]) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.67) (envelope-from ) id 1NiYgq-0005gU-Ax for user@cayenne.apache.org; Fri, 19 Feb 2010 14:39:04 -0500 From: Joe Baldwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Relationship & Sort Ordering Date: Fri, 19 Feb 2010 14:39:03 -0500 Message-Id: To: user@cayenne.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-ELNK-Trace: 74aacf41df18ac9f85338a7d01cb3b6a7e972de0d01da94058ac7cffe94a20979bdf39f6cc1ea3ef350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.253.146.147 X-Virus-Checked: Checked by ClamAV on apache.org 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