• 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: Single-table inheritance error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single-table inheritance error


  • Subject: Re: Single-table inheritance error
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 30 Sep 2009 16:20:00 -0400

This is beyond doubt. I read somewhere once that there's a fluky thing wherein the order of the entities alphabetically within the model matters. Hence my parent entity begins with "A" and is the very first entity in my model. Doesn't help.
I don't recall that.
I can confirm this is not the case, actually. I have at least one model I know of where this isn't true.

I have had it working for weeks by making AbstractResource non- abstract and that gets me past the throw but it causes me problems in other areas (i.e. a fetchRequiredXXX against Resource returns two copies.) I'm coming back now to do this "the right way" and make single-table inheritance with an abstract parent work as I imagine it should.
Adding a unique restricting qualifier to the abstract entity should avoid the duplicates. I don't recall running into this.
Yeah, I've never seen this either. +1 for "goofy model"

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


References: 
 >Single-table inheritance error (From: Jon Nolan <email@hidden>)
 >Re: Single-table inheritance error (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Single-table inheritance error
  • Next by Date: Re: how different are these urls working?
  • Previous by thread: Re: Single-table inheritance error
  • Next by thread: ERExcelLook filename
  • Index(es):
    • Date
    • Thread