cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <blackn...@gmail.com>
Subject Re: Question on how to properly create parent-child nested dependent objects?
Date Wed, 20 Sep 2017 14:37:14 GMT
PS. I did mention you might want to change the last line...


On Wed, Sep 20, 2017 at 10:36 AM, Michael Gentry <blacknext@gmail.com>
wrote:

> Hi Mike,
>
> This is 3-4 year old 3.0 code which is working and I haven't updated it
> yet.  That's mainly it...not enough cycles.
>
> mrg
>
>
> On Wed, Sep 20, 2017 at 10:28 AM, Mike Kienenberger <mkienenb@gmail.com>
> wrote:
>
>> Michael,
>>
>> Why do you suggest
>>
>> DataObjectUtils.objectForPK(destinationContext,
>> contractDesignation.getObjectId());
>>
>> instead of
>>
>> destinationContext.localObject(contractDesignation);
>>
>>
>> ?
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message