Re: Correct way to getRelatedObjects with each relatedObject reference to this object?
Brendan Miller <[email protected]> Fri, 13 Feb 2009 13:57:11 -0800
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]
> For additional commands, e-mail: [email protected]
>