Hi,
I've recently started seeing org.hibernate.UnresolvableObjectException: No row with the given identifier exists type erros in the logs. I've also experienced these myself from time to time. The thing is the, the referenced row DOES in fact exist.
So, it seems that at the moment that Hibernate tries to retrieve the row it doesn't yet.
This typically happens in the following scenario: * User submits a form * Form gets successfully processed * User gets redirected to new page: ERROR
A reload and the record will be there no problem. I'm just trying to understand why this would occur. The only thing I can think of is that the database hasn't completed processing the action but that just seems weird because that would mean is mindblowingly slow and I would expect that in an OpenSessionInView pattern, that when the session closes, all the transaction have been processed. Is there some database setting that could have gotten mangled?
Any idea how to debug this?
Marc
|