Re: Flattened relationship and iterator oddness
Re: Flattened relationship and iterator oddness
- Subject: Re: Flattened relationship and iterator oddness
- From: shaun <email@hidden>
- Date: Mon, 11 Sep 2006 11:18:06 +0930
Hey Fabian,
Fabian Peters wrote:
Hi John, hi Jean-Pierre,
thanks for your replies!
[snip]
I'm still wondering about this one:
Order <->> OrderItem <<->> ProductionRun <-> DeliveryDefect
In Order, I've defined a flattened relationship deliveryDefects. It
works fine for deliveryDefects that exist when the order is fetched
from the DB. However, it fails to include a deliveryDefect that is
created and then saved to the DB. Is this a known limitation of
flattened relationships?
Is this behaviour to be expected? Is this documented anywhere? I
couldn't find an awful lot of documentation on flattened relationships
anyway.
Yes its expected, at least, I would expect it. When I did the WOII
course in 2001 I think it was mentioned as a reason to not use flattened
relationships, amoung other more obvious reasons. I have not seen any
documentation about it though that I can remember. Perhaps searching the
omnigroup list archive would give you more info.
cheers,
- shaun
_______________________________________________
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