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: Owen McKerrow <email@hidden>
- Date: Wed, 28 Nov 2007 13:13:39 +1100
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 ).
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
'The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time and still be able to
function.'
-F.Scott Fitzgerald,
_______________________________________________
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