On 03/02/2011, at 8:59 AM, Mike Schrag wrote:
> i still would like to see what entity.primaryKeyRootName returns for each ...
> i don't recall what the impl was in 5.4.3 and I don't have it checked out at
> the moment, but i'm pretty sure that method is the only thing that matters
> here.
The impl in 5.4.3 is wrong. Essentially 5.4.3 introduced a regression, which I
recall checking in a fix for in wonder, and I believe it's fixed in 5.4.3.1 :)
like this:
if (parent is abstract) {
return my external name.
}
Which is just wrong. This was particularly a problem for Vertical Inheritance
where various fields ought to have resolved to the parent entity's table (but
didn't).
I've never tested horizontal inheritance but you can fix it by:
a) subclassing EOEntity and overriding primaryKeyRootName etc, or better
b) use Wonder and if Horizontal Inheritance is a problem, fix it there for all
:)
with regards,
-
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]