Re: Relationship across model boundaries failing
Re: Relationship across model boundaries failing
- Subject: Re: Relationship across model boundaries failing
- From: Alan Ward <email@hidden>
- Date: Fri, 30 May 2008 14:59:53 -0600
I'm sure Chuck will correct me if I'm wrong but my recollection is
that a flattened to-many will always trip on an
insert or update.
Alan
On May 30, 2008, at 2:48 PM, Guido Neitzer wrote:
On 30.05.2008, at 14:31, Alan Ward wrote:
I actually omit joins from the model in certain situations to
avoid unwanted fetches and flattening is more of a recipe for
disaster than a simple join is.
But it actually doesn't matter how big your datasets are. The
interesting question is how big the joins are. I have a database
here with some ten million entries in it and the biggest to-many is
a couple of hundred objects - this runs on a dual G4 with a small
disk array and never gave me any problems.
And I rather have the development speed of flattened relationships
and working to-many relationships and deal with the consequences
when I have to. Yes, I had to turn of some back-relationships over
time and do not model some of the inverse relationships at all,
because I know they will cause problems, but as an overall rule?
No, definitely not.
cug
--
http://www.event-s.net
_______________________________________________
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