cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Menard <kmen...@servprise.com>
Subject Re: Bug in child contexts?
Date Wed, 05 Mar 2008 03:16:34 GMT
I just wrote a small test case here using Artist and Painting and it works
as you describe and as I would expect.  So, either there's a funky cache
thing going on or my code is borked.  I'm not entirely ruling out the
latter, but it is fairly simplistic in nature.

-- 
Kevin


On 3/4/08 12:59 PM, "Andrus Adamchik" <andrus@objectstyle.org> wrote:

> 
> On Mar 4, 2008, at 7:24 PM, Kevin Menard wrote:
> 
>> So, in this case, I use localObject to pull customer into
>> childContext, set the relationship, commit, and go on my merry way.
> 
> This is the correct way and AFAIK it should work. Could you post a bit
> longer code example, that shows localObject call as well as the
> problem? Just to doublecheck that you are not swapping a customer
> reference somewhere, before we start digging the DataContext code.
> 
> Andrus
> 


Mime
View raw message