I am attempting to create a subclass by inheriting from a non-abstract
superclass using the vertical inheritance method. I have followed the steps
outlined in Apples documentation for EOModeler but I am still getting
consistency checks when I save.

The consistency check that is returned when I attempt to save is as follows:
"Entity Superclass (parent entity of Subclass) needs a restricting qualifier
in order to filter out rows in table SUPER that are only holding data for
Subclass instances"

The documentation is a little unclear (to me at least) as to whether or not
I really do need a restricting qualifier when using vertical inheritance but
I have tried adding it anyway. I have tried adding the qualifier both to the
superclass and subclass but I still get the consistency check in each case.
The only way I have found to get around the consistency check is to mark the
superclass as abstract, however I need to be able to instantiate objects of
the superclass in this case so that is not going to work for me.

Is it possible that the consistency check is just a bug in this case because
EOModeler does not recognize which tye of inheritance mapping I am using?

I am currently using version 5.1 of Webobjects.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to