This content has been marked as final.
Show 5 replies
-
1. Re: CMP - Cascade delete with mysql does not work!
tonylai Oct 27, 2005 9:25 PM (in response to jbosschecker)Me too, with the same problem on SQL Server for the formal release version(4.0.3). Do you try to delete an object from the list of orderDetails and save the order? Also, the deleted object of oderDetails was not deleted from the database.
-
2. Re: CMP - Cascade delete with mysql does not work!
tonylai Oct 27, 2005 9:26 PM (in response to jbosschecker)Me too, with the same problem on SQL Server for the formal release version(4.0.3). Do you try to delete an object from the list of orderDetails and save the order? Also, the deleted object of oderDetails was not deleted from the database.
-
3. Re: CMP - Cascade delete with mysql does not work!
dvohra09 Oct 28, 2005 1:23 PM (in response to jbosschecker)Is the ON DELETE CASCADE specified in the database table?
Also specify ON DELETE CASCADE in the database table. -
4. Re: CMP - Cascade delete with mysql does not work!
jbosschecker Nov 2, 2005 7:02 PM (in response to jbosschecker)"dvohra09" wrote:
Is the ON DELETE CASCADE specified in the database table?
Also specify ON DELETE CASCADE in the database table.
Yes it is. I have specified this also in the innoDB tables. BUt there is no difference.
Someone told me this:removing an object from a collection does not suppress this object unless you set DELETE_ORPHAN check the doc for more info
But I remember havaing done that already. -
5. Re: CMP - Cascade delete with mysql does not work!
epbernard Nov 4, 2005 6:12 AM (in response to jbosschecker)"jbossChecker" wrote:
removing an object from a collection does not suppress this object unless you set DELETE_ORPHAN check the doc for more info
But I remember havaing done that already.
I'm very doubtful