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

lockRowComparingAttributes


  • Subject: lockRowComparingAttributes
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Sat, 15 Mar 2003 16:12:08 +0000

I've looked at the API and tried to make sense of 2 replies that I've had on this subject and I still don't understand what is causing the error below.
Does anyone have a layman's answer to this since the technical one is baffling me?


What i am being told is that I may be using pessimisic locking instead of optimistic locking, if I am, I don't know how I've got on to that... the only thing I can think of that may have cause this auomatically (if possible)is that in EOModel I have turned off the lock symbol next to any attribute that has the external type of "object" because comaring a snapshot with a blob would make the app much slower. Other than that i can not answer this.

If I have somehow defaulted to pessimistic locking, how do I go back to optimistic locking so I can at least see if my error is down to the EOModel locking mechinism?

Exception occurred while handling request:
com.webobjects.eoaccess.EOGeneralAdaptorException: lockRowComparingAttributes -- com.webobjects.jdbcadaptor.JDBCChannel: lock operation failed to select any rows
[2003-03-15 15:43:29 GMT] <WorkerThread0> com.webobjects.eoaccess.EOGeneralAdaptorException: lockRowComparingAttributes -- com.webobjects.jdbcadaptor.JDBCChannel: lock operation failed to select any rows


I'd love to understand this
Jonathan

_________________________________________________________________
Express yourself with cool emoticons http://messenger.msn.co.uk
_______________________________________________
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.

  • Prev by Date: ( J2EE == WebObjects )?
  • Next by Date: Re: [webobjects-newbies] lockRowComparingAttributes
  • Previous by thread: Re: ( J2EE == WebObjects )?
  • Next by thread: Re: [webobjects-newbies] lockRowComparingAttributes
  • Index(es):
    • Date
    • Thread