What about the case where you are replacing a child. Example: Adding to a
collection or removing from a collection.
-----Original Message-----
From: Nick Newman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 2:10 PM
To: Orion-Interest
Subject: Re: Deletes with Complex OR Mapping
Hi Bill,
Inside the ejbRemove method (which is called automatically by the
container) just ask it to remove the "child" beans.
Nick
At 01:24 PM 9/19/00 -0400, you wrote:
>Is there a way to instruct the container to delete ejbs referenced from
>parent ejbs that are being deleting (something like a cascading delete)
when
>using CMP? If not, What is the best way to do this, expecially if you are
>passing a value object passed in through a session bean (Details pattern @
>www.theserverside.com)? I ask this because I've been spoiled by a feature
in
>TOPLink where you can define an object reference as "privately" owned and
it
>will be automatically deleted. If marked as not private, then you have to
>manually delete it.
>
>TIA,
>Bill
>
>=====================
>Bill Smith
>Senior Software Engineer
>iXL, Inc.
>4600 Cox Rd.
>Glen Allen, VA 23060
>
>tel: 804.217.8888
>fax: 804.217.8890
>[EMAIL PROTECTED]
>
>This message is intended only for the use of the Addressee and may contain
>information that is PRIVILEGED and CONFIDENTIAL. If you are not the
intended
>recipient, dissemination of this communication is prohibited. If you have
>received this communication in error, please erase all copies of the
message
>and its attachments and notify us immediately.
>
>