RE: Deletes with Complex OR Mapping

2000-09-20 Thread BSmith
out the EJB 2.0 spec regarding OR mapping. Does it address any of this? Bill -Original Message- From: Nick Newman To: [EMAIL PROTECTED] Sent: 9/20/00 6:08 PM Subject: RE: Deletes with Complex OR Mapping Perhaps I don't really understand the problem. What does adding and removing fr

RE: Deletes with Complex OR Mapping

2000-09-19 Thread BSmith
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

Re: Deletes with Complex OR Mapping

2000-09-19 Thread Nick Newman
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

Deletes with Complex OR Mapping

2000-09-19 Thread BSmith
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 @