• 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
The object with globalID cannot be found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The object with globalID cannot be found


  • Subject: The object with globalID cannot be found
  • From: Henrique Prange <email@hidden>
  • Date: Mon, 24 Nov 2008 12:44:12 -0200

Hi all,

I'm having problems with inheritance, separate models, D2W and Oracle. I'm getting the following exception:

java.lang.IllegalStateException: The object with globalID _EOIntegralKeyGlobalID[Action (java.lang.Integer)1] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).

I'll try to illustrate the situation: I have a model A with an entity X and a model B with an entity Y. Y is abstract and is the super type for Y' and Y'' entities. The entity X has a relationship with the abstract entity Y. The inheritance uses the single table approach. So, Y' and Y'' records are saved in the same table Y.

There is a strange detail. This problem is not always reproducible and sometimes everything just works as expected. I've verified and the referenced record exists on database.

I found this thread [1] about the same subject, but there is no much conclusion about the proper solution. I suspect the problem will completely disappear if I merge both models. But I want to hear your opinion first.

I'm using WO 5.4.1 and Wonder 4.0 (from 04-24-2008) by the way.

Thanks for any advice.

[1]http://lists.apple.com/archives/webobjects-dev/2007/Nov/msg00686.html

Cheers,

Henrique
_______________________________________________
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: The object with globalID cannot be found
      • From: Chuck Hill <email@hidden>
    • Re: The object with globalID cannot be found
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Two questions about latest build system
  • Next by Date: Re: The object with globalID cannot be found
  • Previous by thread: Re: Another cRazY problem
  • Next by thread: Re: The object with globalID cannot be found
  • Index(es):
    • Date
    • Thread