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

Re: The object with globalID cannot be found


  • Subject: Re: The object with globalID cannot be found
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 24 Nov 2008 09:54:23 -0500

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).
One of our clients had this same problem ... The common case that seems to cause this is mismatched external types between the source FK and the destination PK. Verify that you don't have a long PK on one side with an int FK on the other (or something similar). Another variant of this is if you are manually mucking with your models and connection dictionaries rather than using Wonder's (and hooking in too late), you can get the wrong prototype selected for your model, and things explode (your model will end up using EOJDBCPrototypes instead of EOOracleJDBCPrototypes).

ms

_______________________________________________
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: Henrique Prange <email@hidden>
References: 
 >The object with globalID cannot be found (From: Henrique Prange <email@hidden>)

  • Prev by Date: The object with globalID cannot be found
  • Next by Date: Re: The object with globalID cannot be found
  • Previous by thread: The object with globalID cannot be found
  • Next by thread: Re: The object with globalID cannot be found
  • Index(es):
    • Date
    • Thread