Cascade deletes are not supported currently by orion, but rumour has it 
that orion 1.5.4 will indeed support them.

Chris Turner wrote:
> Hi Everyone,
> 
>  
> 
> I've got a CMP entity bean that manages a set of simple object via 
> Orion's proprietary set-mapping features. It all works fine and the 
> table holding the items in the set is updated and read correctly. The 
> problem comes with deleting. If I delete the bean (by calling remove(pk) 
> on the home interface) the data from the entity table goes, but the data 
> in the table for the set items remains.
> 
>  
> 
> Is this expected behaviour? I was expecting Orion to cascade delete this 
> data! 
> 
> How do I make Orion do a cascade delete of the table for the managed 
> set? Or do I need to add a rule to the database to force it to do the 
> cascade delete?
> 
> My Orion version is 1.52
> 
>  
> 
> Chris
> 
>  
> 
> |
> 
> _________________________________________________________________________
> 
> Alison Associates
> 
> The information contained in this e-mail and any attached files is 
> intended only for the use of the person(s) to whom it is addressed and 
> may be privileged, confidential and exempt from disclosure under 
> applicable law. The views of the author may not necessarily reflect the 
> views of the Company. If you are not the intended recipient please do 
> not copy or convey this message or any attached files to any other 
> person but delete this message and any attached files and notify us of 
> incorrect receipt via e-mail to [EMAIL PROTECTED]
> |
> _____________________________________________________________________
> This message has been checked for all known viruses by MessageLabs.



Reply via email to