• 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
Inheritance with records in more than 1 subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inheritance with records in more than 1 subclass


  • Subject: Inheritance with records in more than 1 subclass
  • From: Omar <email@hidden>
  • Date: Thu, 19 May 2005 19:46:35 -0400

Hi all,

I am trying to use single table inheritance for a cetain project I have on hand but am having problems where a record can be of 2 types, for example in the Apple documentation (http://developer.apple.com/documentation/WebObjects/UsingEOModeler/7ModelingInheritance/chapter_7_section_2.html) there are 3 objects, Person, Employee and Customer.

Suppose the Person is both an Employee AND a Customer, If I first fetch an Employee WO fetches everything just fine but then later I try to fetch records from Customer it tells me it can't find current_order or previous_order for example, it looks like WO is caching the record and won't refresh it since its a different class, how can I get this to work properly?


Thanks in advance,

Omar
_______________________________________________
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 with records in more than 1 subclass
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: Trying to clear a dead-lock of some type
  • Next by Date: Re: Inheritance with records in more than 1 subclass
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: Inheritance with records in more than 1 subclass
  • Index(es):
    • Date
    • Thread