Make sure you have 
collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList" as part 
of your <collection-descriptor>

That will solve your problem..

Axel
[EMAIL PROTECTED]

-----Original Message-----
From: Weaver, Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 1:41 PM
To: 'OJB Users List'
Subject: non-decomposed mapping and deletions in ODMG



I have a non-decomposed relationship between object A and B.  Using ODMG, if I remove 
a B from the collection of B's in A and commit, not only is the relationship entry in 
the indirection table deleted but so is B's record.  Is there anyway to turn this off 
as auto-delete="false" has no effect.

Regards,
*================================* 
| Scott T Weaver                 |
| <[EMAIL PROTECTED]>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*


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

Reply via email to