Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships
Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships
- Subject: Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships
- From: Jeffrey Simpson <email@hidden>
- Date: Thu, 02 Apr 2009 10:20:03 -0400
- Thread-topic: Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships
When a EO object is saved EOEntityClassDescription.validateObjectForSave
will be called on it. This method goes over all the classes properties and
relationships where it calls validateValueForKey.
Is there a way to stop EOEntityClassDescription from validating
relationships? When it validates a relationship it causes a select to
happen. We noticed this because we have a couple of expensive relationships
select wise. It is also kind wasteful to have 5 or 6 selects fire because
you changes a single property.
Jeffrey Simpson
Youth For Understanding USA
email@hidden
Telephone: (240) 235-2114
FAX: (202) 235-2104
Preparing young people for their responsibilities and opportunities in a
changing, interdependent world.
_______________________________________________
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