NULL being set for PK on ec.deleteObject()?
NULL being set for PK on ec.deleteObject()?
- Subject: NULL being set for PK on ec.deleteObject()?
- From: Drew Thoeni <email@hidden>
- Date: Thu, 24 Mar 2005 08:26:47 -0500
I have a main object (Student) with several related objects (Address,
PaymentMethod, and StudentClasses). The slightly different thing is
Address also has a relationship with PaymentMethod.
Cascade delete rules have been set in Frontbase so, when deleting a
Student in Frontbase, all associated rows are properly removed.
When I attempt to delete Student in WO and review the SQL logging, the
Student and StudentClasses are removed, but the Address and
PaymentMethod are not. I suspect this is due to the relationship
between them.
Since there is not a method of informing EOModeler about cascade rules,
to solve this I have picked these arrays (Address and PaymentMethod)
from Student and incremented through them, deleting each one
specifically.
Question: Is this the proper method?
Regards,
Drew
_______________________________________________
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