Mike,
There is an example of all three types of inheritance models located
in /Developer/Examples/JavaWebObjects/WOInheritanceExample.
It does show examples of deep inheritance for all three types
including vertical.
Basically, I just sort of despise vertical inheritance :)
I definitely agree with you on this one. I have used it, but only in
a shallow inheritance (one level deep) and only fetching on leaf
nodes. This was also earlier in my WO days before really
understanding it's disadvantages. Although in my case I never really
ran into any particular problems with it. I got lucky in other words.
On the plus side it does make for a clean database schema to
represent the inheritance, but in most cases that just not worth the
potential problems it can cause.
On May 21, 2007, at 8:03 AM, Mike Schrag wrote:
Is anyone using:
1) vertical inheritance with a to-one relationship in the parent?
or
2) vertical inheritance two levels deep?
If so, I would love to see the plist files for the parent and child
entities. I'm trying to make Entity Modeler's vertical inheritance
wizard legit, but I personally don't use vertical inheritance at
all, and the EOModeler manual is pretty light on specifics
regarding the actual modeling of them.
If you can't send the actual plists, I'm interested to know:
* Are non-class attributes supposed to be flattened into the
subclass just like class attributes?
* ... non-class relationships?
* Do the flattened attributes need to be the same name as the
attributes from the parent class?
* When you vertically inherit two levels deep ... WTF flattens?
Do you flatten from the top level parent and only new attributes
from each class along the way? Do you (can you even?) flatten the
flattened attributes from your direct parent?
Basically, I just sort of despise vertical inheritance :)
ms
_______________________________________________
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/robertwalker1%
40mac.com
This email sent to [EMAIL PROTECTED]
--
Robert Walker
[EMAIL PROTECTED]
_______________________________________________
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]