db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brendan Miller <bmil...@dotster.com>
Subject Re: Correct way to getRelatedObjects with each relatedObject reference to this object?
Date Fri, 13 Feb 2009 21:57:11 GMT
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


Mime
View raw message