• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subclassing Entities in different Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Subclassing Entities in different Frameworks (From: James Cicenia <email@hidden>)

  • Prev by Date: Subclassing Entities in different Frameworks
  • Next by Date: what did I break
  • Previous by thread: Subclassing Entities in different Frameworks
  • Next by thread: what did I break
  • Index(es):
    • Date
    • Thread