EOF WTF?
EOF WTF?
- Subject: EOF WTF?
- From: Rick Innis <email@hidden>
- Date: Thu, 14 Jul 2005 11:35:16 -0400
Can anyone help explain this exception from EOF?
prepareForSaveWithCoordinator: Cannot save the object with globalID
_EOIntegralKeyGlobalID[Systemuser (java.math.BigDecimal)1000085]. The
row referenced by this globalID was missing from the database at the
time a fetch was attempted. Either it was removed from the database
after this application got a pointer to it, or there is a referential
integrity problem with your database. To be notified when fetches
fail, implement a delegate on EODatabaseContext that responds to
databaseContextFailedToFetchObject().
I understand what it's telling me, and it's perfectly right- there is
no Systemuser object with a key of 1000085.
There is, however, one with a key of 1000086 which is actually the
object I expect to have. The Systemuser object was created, saved,
and refreshed in a previous WebObject, which stores it in the session
and invokes the one that throws this exception, which is thrown when
trying to save it after an update.
I've resolved the issue by using an EOFetchSpecification to retrieve
the Systemuser object in the second page, but if anyone has any
insight into why this exception is occurring I'd like to hear it.
(The backend DB is FrontBase, and I'm using WO 5.3 on Tiger, in case
these details make any difference.)
--Rick.
_______________________________________________
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