Re: Subclassing Entities in different Frameworks
Re: Subclassing Entities in different Frameworks
- Subject: Re: Subclassing Entities in different Frameworks
- From: Ramsey Gurley <email@hidden>
- Date: Thu, 06 Dec 2012 08:31:47 -0700
Modeling incorrectly. If you don't provide a restricting qualifier, you're doing horizontal inheritance, which means an extra table. To use single table inheritance, you have to provide a qualifier. Just use the subclass button in the entity modeler to set it up for you. If you want to do it the hard way, or you are just curious about how it works, look here:
http://wiki.wocommunity.org/display/documentation/Modeling+Inheritance+with+Entity+Modeler
Ramsey
On Dec 6, 2012, at 7:52 AM, James Cicenia wrote:
> I have subclassed ERUser with my own User. They are in different frameworks.
> When I first created my User EOModeler defaults to a USER table in the database.
> Yet, there is currently an ERUser table in the database.
>
> If I point the USER table back to ERUser, EOModeler complains that I need a restricting qualifier.
>
> Do I just TRUE in there? Or, am I modeling it incorrectly.
>
> Thanks
> James
>
>
> _______________________________________________
> 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
_______________________________________________
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