On Tuesday 13 March 2007 02:46:03 am Graeme Rocher wrote:
> Hi Corey,
>
> You appear to be doing the best you can :-)
>
> You don't need to call save() multiple times however.
>
Cool - that's just the sort of tidbit I was hoping to glean; I had been saving
multiple times in similar instances as well, thinking/assuming that the id of
the owning object needed to be generated via the save before I could properly
attach the relationship. ( or something like that... (c8= )
> We may one day
> add a feature that means you don't have to new objects in order to
> create relationships
>
> Something like:
>
> def serviceOrder = new ServiceOrder(
> contact : params["contact"] ,
> creditCard : params["creditCard]
> )
>
Interesting, that would make for a convenient shortcut.
> But atm there is not much more you can do, hence the lack of response :-)
>
Heheh - understood - and thanks for your time in responding!
Cheers,
Corey
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email