- When you delete a parent object and the operation cascades to
children, the object-level operation order is delete parent, then
delete children.
In my experience, the cascade should delete the children first.
This solves 99% of the cascade delete issues.
It seems to me you'd just have the exact same problem when forward
foreign keys (rather than inverse ones as in a one-many) are used.
Or do you mean that cascading to a collection should delete the
children first, but cascading through a to-one should not?
Register now for BEA World 2006 --- See http://www.bea.com/beaworld<<
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and affiliated
entities, that may be confidential, proprietary, copyrighted and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.