Hi
And thanks for this PB tips!
But it doesn't seems to work with odmg, in fact I saw ( comment in
source ) that RemovalAwareCollection are there to be used with PB
This will allow to use the PB api in way pretty close to ODMG persistent
collections!" ( dixit Thomas Mahler ).
Thanks again
Le sam 28/02/2004 � 13:45, [EMAIL PROTECTED] a �crit :
> For M:N mappings, you should not use auto-delete (that will remove the M or N side -
> depending on config/code). You should use 'auto-delete=false' and a
> 'collection-class=org.apache.ojb.broker.util.RemovalAwareCollection' (I don't
> remember the
> complete class name - please, double check it).
>
> This make OJB remove only the "middle" object (not the real objects, only the mapping
> between them).
>
> BUT, after I write all this things (and re-checing your e-mail to see if I missed
> something), I remembered to alert you that my tip is based on PB Api (that I really
> use),
> not ODMG. Someone else more familiarized on ODMG could give you more orientation (or
> confirm
> is this solution works with ODMG too).
>
>
> Best regards,
>
> Edson Richter
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]