• 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: Error - lockRowComparingAttributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Error - lockRowComparingAttributes (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: Validation problems with WOCheckBox
  • Next by Date: D2JC Checkbox label position
  • Previous by thread: Error - lockRowComparingAttributes
  • Next by thread: Re: Error - lockRowComparingAttributes
  • Index(es):
    • Date
    • Thread