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 Da...@equifax.com on 2003/07/08 14:36:58 UTC

PersistenceBrokerImpl.delete()

I posted this (twice) to the DEV list, but never saw it come through....

PB keeps a list of objects that are marked for delete, and avoids deleting
them twice.

1) Shouldn't this be a set, for perfomance reasons.
2) Should this be based on Identity, rather than on the object (and it's
equals method) itself?

David


This message contains information from Equifax Inc. which may be
confidential and privileged.  If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this
information and note that such actions are prohibited.  If you have
received this transmission in error, please notify by e-mail
postmaster@equifax.com.



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


Re: PersistenceBrokerImpl.delete()

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi David,

sorry for overlook your post twice,
such was not my intention.
I think you are right - will fix this ASAP!

> 1) Shouldn't this be a set, for perfomance reasons.
hmm, in that case I don't think List is an performance impact.

> 2) Should this be based on Identity, rather than on the object (and
it's
> equals method) itself?
I fully agree with that.

regards,
Armin


----- Original Message -----
From: <Da...@equifax.com>
To: <oj...@db.apache.org>
Sent: Tuesday, July 08, 2003 2:36 PM
Subject: PersistenceBrokerImpl.delete()


> I posted this (twice) to the DEV list, but never saw it come
through....
>
> PB keeps a list of objects that are marked for delete, and avoids
deleting
> them twice.
>
> 1) Shouldn't this be a set, for perfomance reasons.
> 2) Should this be based on Identity, rather than on the object (and
it's
> equals method) itself?
>
> David
>
>
> This message contains information from Equifax Inc. which may be
> confidential and privileged.  If you are not an intended recipient,
please
> refrain from any disclosure, copying, distribution or use of this
> information and note that such actions are prohibited.  If you have
> received this transmission in error, please notify by e-mail
> postmaster@equifax.com.
>
>
>
> ---------------------------------------------------------------------
> 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