EOF, MySQL and DELETE CASCADE
EOF, MySQL and DELETE CASCADE
- Subject: EOF, MySQL and DELETE CASCADE
- From: Pascal Robert <email@hidden>
- Date: Tue, 24 Feb 2009 08:27:47 -0500
Hi list,
Can somebody confirm that the MySQL plugin don't care about DELETE
CASCADE rules on a FK in MySQL (4.1)? I switched a small db to InnoDB
and added FK with the DELETE CASCADE option, but EOF still fetch the
parent objects (SELECT * FROM parent), all childs (SELECT * FROM
child) and will issue a DELETE statement for each child... which is
not efficient at all.
-------------------------------------------------------
Pascal Robert
http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti
Skype: MacTICanada
AIM/iChat : MacTICanada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden