Actually, I must credit Oscar Wilde for the first sentence.



________________________________
From: Alvaro Coronel <alvarocorone...@yahoo.com>
To: Apache Torque Users List <torque-user@db.apache.org>
Sent: Saturday, February 14, 2009 9:37:13 PM
Subject: Re: Correct way to getRelatedObjects with each relatedObject reference 
to this object?

One way of getting rid of temptations is yielding.

Afterwards you just run the unit tests and tell us how they turned out :)

Best regards,
Álvaro.




________________________________
From: Brendan Miller <bmil...@dotster.com>
To: Apache Torque Users List <torque-user@db.apache.org>
Sent: Friday, February 13, 2009 7:57:11 PM
Subject: Re: Correct way to getRelatedObjects with each relatedObject reference 
to this object?

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-unsubscr...@db.apache.org
> For additional commands, e-mail: torque-user-h...@db.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org


      

Reply via email to