• 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: Object with globalID could not be found in the database, when it is there ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 20:54:50 -0800


On Nov 27, 2007, at 8:46 PM, Lachlan Deck wrote:
On 28/11/2007, at 1:35 PM, Chuck Hill wrote:
On Nov 27, 2007, at 6:13 PM, Owen McKerrow wrote:
On 28/11/2007, at 12:04 PM, Lachlan Deck wrote:
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.

I should have been more specific... Chuck won't recall ever needing to do this because, IIRC, he never uses Vertical Inheritance, which is where I've found this to be needed. Nothing funky about it, just a quirk of that particular inheritance with eof.

Vertical inheritance. Yes, I had that once when I was younger. But I got better. :-P



And yes, that is regardless of whether you've modelled such inheritance within the one model or not.

That Lachlan, he likes some funky-ass kinds of inheritance! :-)

I confess, I like OO. :-)

Me too, but in my Java. The database? That is just an implementation detail. There I want speed, not joins.



But huh? Subclassing is funky? Fiddle sticks! :-)

It is that vertical sliced and diced one that is funky.


Now... about those partial entities. What funky stuff could be done with 'em? ;-)

Now that, that IS funky.


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


References: 
 >Object with globalID could not be found in the database, when it is there ?? (From: Owen McKerrow <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Anjo Krank <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Owen McKerrow <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Xavier Destombes <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Simon McLean <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Owen McKerrow <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Lachlan Deck <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Owen McKerrow <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Chuck Hill <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by Date: Re: Deadlock [Fixed - we think!]
  • Previous by thread: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by thread: Re: Object with globalID could not be found in the database, when it is there ??
  • Index(es):
    • Date
    • Thread