db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: delete does not include 'ojbConcreteClass' !
Date Sat, 14 Aug 2004 18:23:40 GMT
With the new class-discriminator PK don't need to be unique across 
extents anymore - right? So the discriminator field is mandatory for all 
delete in 1.1?

 > what do you think about including ojbConcreteClass in the delete
 > statement ?

If you don't expect side-effects +1

Armin

Jakob Braeuchi wrote:

> hi all,
> 
> while working on the new class-discriminator stuff (replacement of 
> ojbConcreteClass) i found that we do not use the field 
> 'ojbConcreteClass' when deleteing an object, the only attributes used 
> are the pk.
> 
> afaik ojbConcreteClass is never part of the pk (at least not in our 
> samples) so when deleting objects just by pk we could probably delete 
> more than one row !
> i know ojb requires the pk to be unique within a class hierarchy, but if 
> this is not the case, more than one obj is gone...
> 
> what do you think about including ojbConcreteClass in the delete 
> statement ?
> 
> jakob
> 
> ---------------------------------------------------------------------
> 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