• 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: Inheritance and relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance and relationships


  • Subject: Re: Inheritance and relationships
  • From: Guido Neitzer <email@hidden>
  • Date: Fri, 8 Aug 2008 06:31:38 -0600

On 08.08.2008, at 00:38, Lachlan Deck wrote:

What type of inheritance? ST, H, VI.

Single Table. 

For the the relationship from 'some other object' to Person - is the source object also an inherited object?

Sometimes. Not necessarily. 

Do you have a restricting qualifier?

Sure, I do.

So, is this not supposed to work?

I've seen problems going from an inherited record to another inherited record (where they both have the same super).

Have you turned on adaptor logging and checked the sql?

Yes, that seems to look fine. Have to reduce it to a simpler case. 

But I think, there must be something funky with my models from the refactoring. Right now, I can't even do a 

NSArray result = Person.fetchAllPersons(editingContext, null);

It craps out with a similar illegal state exception. 

I will create a test case later and see what I can find there.

cug


-- 
http://www.event-s.net

 _______________________________________________
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: Inheritance and relationships
      • From: Guido Neitzer <email@hidden>
References: 
 >Inheritance and relationships (From: Guido Neitzer <email@hidden>)
 >Re: Inheritance and relationships (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Entity Modeler: Reverse engineering of a FrontBase db?
  • Next by Date: Re: WO App written in WO 5.4 won't run on Leopard Server with WO 5.4
  • Previous by thread: Re: Inheritance and relationships
  • Next by thread: Re: Inheritance and relationships
  • Index(es):
    • Date
    • Thread