-
1. Re: cascade-delete
dsundstrom Apr 30, 2002 10:30 AM (in response to mortena)> I have tried to implement a system with
> cascade-delete on some of the EJB-relationships. This
> doesn't seem to work with JBoss 3.0 alpha.
Worked for me, but the alpah was a long time ago.
> It can be deployed, and it doesn't report any errors
> or exception when I call remove() on the EJB that
> "owns" the other one.
Is this a one-to-one?
> Is cascade-delete implemented on the JBoss 3.0 beta?
> (Where can I see the differences between two
> versions?)
Not that I can remember.
> Do I have to do anything besides writing:
> <cascade-delete /> in the EJB-relationship in the
> ejb-jar.xml file?
Nope.
BTW the current version ks JBoss 3.0rc1 -
2. Re: cascade-delete
smartprint Oct 26, 2002 12:43 PM (in response to mortena)Hi,
What database are u using in order to get the cascade working? Does it deleted all it's children relation?
I am using Jboss3.0.3 wiht HypersonicSQL and it is only deleting the F-key relationship pointer and it does not delete all its children in a clean way!
Thanks,
San