You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Andy Malakov <an...@transdecisions.com> on 2003/10/22 16:06:45 UTC
RE: non-decomposed m:n mapping deleting incorrectly
Hello,
>From: oliver . matz
>> It just seems odd that by removing an item from a collection that it
>> performs a delete on the object that is in the collection.
>This is the behaviour of org.apache.ojb.broker.util.collections.RemovalAwareCollection,
>which is the default collection-class. You can set another collection class in the class-descriptor, e.g.
>collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList"
Having RemovalAwareCollection as default implementation is a bit inconsistent in case of auto-delete=false in collection descriptor.
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org