autodelete flag in your xml mapping file is true or false?
an example:
...
<reference-descriptor name="country" class-ref="allibo.logistic.Country"
auto-retrieve="true" auto-update="true" auto-delete="true" >
...

> Hi,
>
> I have a really weird problem and I don't if I am doing something wrong or
> if this is a bug of OJB.
>
> I have basically 2 classes: Person and Department. I defined a N:M relation
> between those two.
>
> Now I want to remove a Department from a Person. But what happens is, that
> OJB is trying to delete ALL relations to other classes and is then deleting
> the Department as well!!!
>
> Do I have to change my configuration? Or is this a bug?
>
> In hope for help.
>
> Tino
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to