Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 65065 invoked from network); 13 Feb 2009 21:57:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 21:57:45 -0000 Received: (qmail 30642 invoked by uid 500); 13 Feb 2009 21:57:44 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 30623 invoked by uid 500); 13 Feb 2009 21:57:44 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 30606 invoked by uid 99); 13 Feb 2009 21:57:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 13:57:44 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bmiller@dotster.com designates 70.103.251.107 as permitted sender) Received: from [70.103.251.107] (HELO scalix0.corp.dotster.net) (70.103.251.107) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 21:57:35 +0000 Received: from scalix0.corp.dotster.net (localhost.localdomain [127.0.0.1]) by scalix0.corp.dotster.net (8.13.1/8.13.1) with ESMTP id n1DLvC2r032412 for ; Fri, 13 Feb 2009 13:57:12 -0800 Received: from localhost.localdomain (dotster-vip2.corp.dotster.net [70.103.251.2]) by scalix0.corp.dotster.net (Scalix SMTP Relay 11.4.2.12068) via ESMTP; Fri, 13 Feb 2009 13:57:11 -0800 (PST) Received: from brmiller by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1LY623-00061g-5I for torque-user@db.apache.org; Fri, 13 Feb 2009 13:57:11 -0800 Date: Fri, 13 Feb 2009 13:57:11 -0800 From: Brendan Miller To: Apache Torque Users List Message-ID: <20090213215711.GA20542@dotster.com> In-Reply-To: <4995A5F7.7020404@apache.org> References: <20090212072512.GG17337@dotster.com> References: <4995A5F7.7020404@apache.org> Subject: Re: Correct way to getRelatedObjects with each relatedObject reference to this object? x-scalix-Hops: 1 x-scalix-Authenticated-Sender: bmiller@dotster.com at 70.103.251.2 User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SMP-CT-RefID: str=0001.0A010205.4995ECB7.009A,ss=1,fgs=0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the comments/interest. In the interim, I'm tempted to add public List#if($enableJava5Features)<$className>#end get${relCol}JoinThis() to Object.vm... Brendan I'm tempted On Fri, Feb 13, 2009 at 05:55:19PM +0100, Thomas Vandahl wrote: > Brendan Miller wrote: > > Is there a way I can pre-populate the Items' aPurchaseOrder to the > > object I start with (po)? > > This will not provide you with the same instance, but your PurchaseOrder > should have a method called getItemsJoinPurchaseOrder() (or similar) > which will populate your items with the related PurchaseOrder. > > Bye, Thomas. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org