You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Edson Carlos Ericksson Richter <ed...@mgrinformatica.com.br> on 2004/03/25 15:19:06 UTC

Re: 1.0 RemovalAware doesnt work (was 1.0 - one more bug)

I tracked down to the call to fireBrokerEvent just after calling 
store(myObject). When the call to afterStore in my RemovalAwareList 
should be called?

Thanks

Edson Richter


Edson Carlos Ericksson Richter wrote:

> Someone know what happened to the afterstore methods???
>
> Thaks,
>
> Edson Richter
>
>
> Edson Carlos Ericksson Richter wrote:
>
>> Ops, the correct is "The afterstore method is NOT being called".
>>
>> Tkx,
>> Edson Richter
>>
>> ----- Original Message ----- From: "Edson Carlos Ericksson Richter" 
>> <ed...@mgrinformatica.com.br>
>> To: "'OJB Users List'" <oj...@db.apache.org>
>> Sent: Wednesday, March 24, 2004 4:25 PM
>> Subject: 1.0 - one more bug
>>
>>
>> The afterstore method is being called. This is very embaracing since 
>> we need
>> this for the RemovalAwareCollection (and RemovalAwareList).
>>
>> This is a known bug, is there a workaround?
>>
>> Thanks in advantage,
>>
>> Edson Richter
>>
>>
>>
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.637 / Virus Database: 408 - Release Date: 20/3/2004
>>  
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



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


Re: 1.0 RemovalAware doesnt work (was 1.0 - one more bug)

Posted by Edson Carlos Ericksson Richter <ed...@mgrinformatica.com.br>.
Appear that this code is missed from 1.0 CVS HEAD:

                    // invoke callback on collection
                    if (col instanceof ManageableCollection)
                    {
                        ((ManageableCollection) col).afterStore(this);
                    }

in PersistenceBrokerImpl, method storeCollections.




Edson Carlos Ericksson Richter wrote:

> I tracked down to the call to fireBrokerEvent just after calling 
> store(myObject). When the call to afterStore in my RemovalAwareList 
> should be called?
>
> Thanks
>
> Edson Richter
>
>
> Edson Carlos Ericksson Richter wrote:
>
>> Someone know what happened to the afterstore methods???
>>
>> Thaks,
>>
>> Edson Richter
>>
>>
>> Edson Carlos Ericksson Richter wrote:
>>
>>> Ops, the correct is "The afterstore method is NOT being called".
>>>
>>> Tkx,
>>> Edson Richter
>>>
>>> ----- Original Message ----- From: "Edson Carlos Ericksson Richter" 
>>> <ed...@mgrinformatica.com.br>
>>> To: "'OJB Users List'" <oj...@db.apache.org>
>>> Sent: Wednesday, March 24, 2004 4:25 PM
>>> Subject: 1.0 - one more bug
>>>
>>>
>>> The afterstore method is being called. This is very embaracing since 
>>> we need
>>> this for the RemovalAwareCollection (and RemovalAwareList).
>>>
>>> This is a known bug, is there a workaround?
>>>
>>> Thanks in advantage,
>>>
>>> Edson Richter
>>>
>>>
>>>
>>> ---
>>> Outgoing mail is certified Virus Free.
>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>> Version: 6.0.637 / Virus Database: 408 - Release Date: 20/3/2004
>>>  
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



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