db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oliver.m...@ppi.de
Subject RE: performance: surpress m:n collection deletion on insert
Date Thu, 30 Oct 2003 12:48:56 GMT
Hello,


I just wanted to mention that this issue has popped
up on the Users' list again.

> -----Original Message-----
> From: oliver.matz@ppi.de [mailto:oliver.matz@ppi.de]
> Sent: Friday, August 22, 2003 9:08 AM
> To: ojb-dev@db.apache.org
> Subject: RE: performance: surpress m:n collection deletion on insert
> 
> 
> Hello,
> 
> > -----Original Message-----
> > From: Jakob Braeuchi [mailto:jbraeuchi@gmx.ch]
> > 
> > your patch got lost.
> 
> silly me.
> Here is the diff.  But do not check it in!
> I have run the ODMG tests on them, and one is corrupted.
> I will have a look at it.

This test seems to be allowed to fail.

For the future, it would be very helpful to mark those
tests that are allowed to fail.

> <     private void storeCollections(Object obj, Vector vecCds) throws
> PersistenceBrokerException
> ---
> >     private void storeCollections(Object obj, Vector vecCds, boolean
> insert) throws PersistenceBrokerException
> 758c758
> <                 if (cds.isMtoNRelation())
> ---
> >                 if (!insert && cds.isMtoNRelation())
> 776c776,777
> <                     deleteMtoNImplementor(cds, obj, (Collection)col,
> currentMtoNKeys);
> ---
> >                     if (!insert)
> >                       deleteMtoNImplementor(cds, obj, 
> (Collection)col,
> currentMtoNKeys);
> 1993c1994
> <               storeCollections(obj, cld.getCollectionDescriptors());
> ---
> >     storeCollections(obj, cld.getCollectionDescriptors(), insert);
> 2084c2085
> <             storeCollections(obj, cld.getCollectionDescriptors());
> ---
> >             storeCollections(obj, 
> cld.getCollectionDescriptors(), insert);
> 
> 
> 
> 

---------------------------------------------------------------------
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