Inheritance with records in more than 1 subclass
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