Re: Debugging EO design smells
Re: Debugging EO design smells
- Subject: Re: Debugging EO design smells
- From: Chuck Hill <email@hidden>
- Date: Thu, 27 May 2010 08:04:05 -0700
On May 27, 2010, at 12:38 AM, Frédéric JECKER wrote:
Hi,
I'm working on a 10yo woapp that started recently to behave
strangely when deleting records :
the saveChanges() methods triggered a complete refresh on some huge
tables.
After searching a while we found that this was caused by to-many
relationships which had inverse relationships.
We deleted the unwanted reverse relationships which solved most of
our cases but we still have similar issues on other parts of our
application.
Is there a (good) not so bad practice to locate those smells (except
parsing each of the 50+ EOModels of the app ?)
I don't think so. This usually is found where a lookup EO has a
reference back to the main EO. So finding the problem is context
specific.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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