• 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
horizontal inheritance oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

horizontal inheritance oddity


  • Subject: horizontal inheritance oddity
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 23 May 2006 22:45:03 -0400

I have a model in a framework that defines Entity A and a model in my project that depends on that framework that defines Entity B as subclass of Entity A via Horizontal Inheritance. Entity A is abstract (though the same problem occurs either way). When I run my app, and create new Entity B's, the insert statements don't include the primary key (resulting in an integrity constraint violation). If i edit the model and simply remove the parent entity reference from Entity B, and restart, everything works perfectly. That fix is ACTUALLY is not that big of a deal from a runtime perspective, except that I need the parent reference for EOGenerator to work properly (basically I care more about the inherited methods than I particularly care about it actually having a relationship in the model). Anyone seen this one before? It's been driving me crazy today -- I have to believe I'm just overlooking something silly.

ms
_______________________________________________
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


  • Follow-Ups:
    • Re: horizontal inheritance oddity
      • From: Chuck Hill <email@hidden>
    • Re: horizontal inheritance oddity
      • From: Jean-François Veillette <email@hidden>
  • Prev by Date: Re: xCode 2.3
  • Next by Date: Re: xCode 2.3
  • Previous by thread: Re: xCode 2.3
  • Next by thread: Re: horizontal inheritance oddity
  • Index(es):
    • Date
    • Thread