Re: Error - lockRowComparingAttributes
Re: Error - lockRowComparingAttributes
- Subject: Re: Error - lockRowComparingAttributes
- From: Art Isbell <email@hidden>
- Date: Wed, 15 Jan 2003 09:51:06 -1000
On Wednesday, January 15, 2003, at 07:07 AM, Jonathan Fleming wrote:
Can anyone explain why I'm getting this error? Basically when I have
save an object to the database if I attempt to update it and then save
it I get this error... has this got to do with locking the
editingContext or something?
Error: com.webobjects.eoaccess.EOGeneralAdaptorException
Reason: lockRowComparingAttributes --
com.webobjects.jdbcadaptor.JDBCChannel: lock operation fetched row
with different values than snapshot
Stack trace: File Line# Method Package
This looks like an optimistic locking error - i.e., the object updated
has been updated in the database by another process since you last
fetched it in your process. This has nothing to do with locking an
editing context.
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.