Christoph Hermann schrieb: Hello,
> > Inserting new Rights works fine, the problem is that when i change > > a right the old value is deleted from the Rights Table instead of > > only deleting the entry in the reference table. > > Can anyone of you help me how out on how an m:n relationship should > > be binded? > > My repository.xml (I use ojb/jdo) looks like this: > <collection-descriptor name="rights" > element-class-ref="papillon.Right" auto-retrieve="true" > auto-update="link" auto-delete="link" > indirection-table="rel_users_rights" otm-dependent="false"> > <fk-pointing-to-this-class > column="users_id"/> <fk-pointing-to-element-class > column="rights_id"/> > </collection-descriptor> Thanks to Tim Larson, the problem is solved. Just for the ones interested (and the archive) here's the Solution: In the collection-descriptor i had to add: collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList" Then the Problem was gone :-). Christoph
pgp8UeNG76h7c.pgp
Description: PGP signature
