Re: EOGeneralAdaptorException : deleteRowDescribedByQualifierEntity
Re: EOGeneralAdaptorException : deleteRowDescribedByQualifierEntity
- Subject: Re: EOGeneralAdaptorException : deleteRowDescribedByQualifierEntity
- From: Christian Pekeler <email@hidden>
- Date: Sun, 20 Mar 2005 19:00:55 -0700
I have a Dealer entity which has
a relationship to two Address entities. I get a
EOGeneralAdaptorException
(deleteRowDescribedByQualifierEntity) exception when I try to delete a
Dealer entity in the same session that I create it.
Does that mean you're able to delete the dealer with it's addresses
after restarting the application? Also, are the relationships
bidirectional, i.e. is there a relationship from Address back to
Dealer? If that is the case, then you might be seeing a symptom for
incorrectly associated objects at creation time. So instead of
newShippingAddress.setDealer(newDealer) use
newShippingAddress.addObjectToBothSidesOfRelationshipWithKey(newDealer,
"dealer").
Christian
_______________________________________________
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