db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject Re: OTM CollectionProxy Bug =(
Date Wed, 07 Apr 2004 23:07:50 GMT
No problem =)

-Brian

On Apr 7, 2004, at 6:45 PM, Oleg Nitz wrote:

> Hi Brian,
>
> Yes, I am radically changing ConcreteEditingContext, so please don't  
> commit
> your fix to CVS if it is possible.
>
> Regards,
>  Oleg
>
> On Wednesday 07 April 2004 16:48, Brian McCallister wrote:
>> Ack!
>>
>> I have been digging into it and am right next to having it solved, I
>> think (as I know what is causing it, finally). Is a trixy thing to  
>> make
>> sure nothing else is broken by fix though =(
>>
>> Short form: OTMCollectionProxyListener is being set on a swizzlded  
>> copy
>> of the Collectionproxy which is actually given back to the client. The
>> client loads the one it is given, but the swizzled copy is never
>> laoded.
>>
>> The listener populates the stored values in the entry/context
>> (initialized to null before proxy is loaded) -- except it never
>> actually gets to do so.
>>
>> When it comes time to compare for deletions the original collection is
>> null so the comparator presumes nothing has changed.
>>
>> Are you radically changing ConcreteEditingContext (it needs some
>> refactoring)? If so I will hold off on fixing it. if not, will work on
>> getting it fixed this morning as this is basically breaking our app
>> here (as workaround is to not proxy otm-dependent collections, and
>> OutOfMemory errors are annoying) =(
>>
>> -Brian
>>
>> On Apr 7, 2004, at 3:11 AM, Oleg Nitz wrote:
>>> Hi Brian,
>>>
>>> I'll look into this problem soon. Now I'm finishing OTM refactoring.
>>> I am sorry very much for the delay in your work that I cause.
>>>
>>> Oleg
>>>
>>> On Monday 05 April 2004 22:31, Brian McCallister wrote:
>>>> On the otm-dependent="true" collections, in the otm unit test
>>>> mappings,
>>>> add a proxy="true" and bad things start happening =( (ie, dependent
>>>> tests all fail).
>>>>
>>>> I took a stab at it but the solution wasn't obvious. Oleg, any
>>>> insights? This is a bit of a big problem for me at the moment.
>>>>
>>>> -Brian
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message