Re: The object with globalID cannot be found
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