Re: Object with globalID could not be found in the database, when it is there ??
Re: Object with globalID could not be found in the database, when it is there ??
- Subject: Re: Object with globalID could not be found in the database, when it is there ??
- From: Chuck Hill <email@hidden>
- Date: Tue, 27 Nov 2007 18:35:41 -0800
On Nov 27, 2007, at 6:13 PM, Owen McKerrow wrote:
On 28/11/2007, at 12:04 PM, Lachlan Deck wrote:
Hi there,
On 28/11/2007, at 11:35 AM, Owen McKerrow wrote:
Hmm nope we don't have any that are cache'd in memory.
We do however have cross model relationships that involved
entities that use inheritance ( thanks for the tip Lachlan ).
Yay!
So I have merged the models back into 1 ( was only for conceptual
reasons they were two) and am going to do a patch release to see
if that fixes the issue.
Well... next question was going to be, given that you'd chosen
door 'A':
- have you marked all foreign keys inherited in sub-entities as
class properties? (hint: eof bug work-a-round)
i.e., if you have a foreign key in super-entity which will
obviously not be a class property ... you have to mark it as a
class property in your sub-entities in order to allow EOF to save
the records properly etc.
It'll be a modelling issue, but sure if it solves your problem by
putting them into the one model, great.
We'll wait and see if it does :) If not I will try what you
suggest. Should I be dong that anyways even with all Entities
within the one model ? Or is it only the case for cross model
relationships. In either case sounds like something that should be
added to the wikki ( if its not there already ).
I don't recall ever needing to this. That Lachlan, he likes some
funky-ass kinds of inheritance! :-)
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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