• 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: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception


  • Subject: Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
  • From: Tim Kitchener <email@hidden>
  • Date: Fri, 7 Nov 2008 10:44:54 +0000

Since changing the database engine to InnoDB, I no longer get the locking error.  Just a com.webobjects.eoaccess.EOGeneralAdaptorException: updateStatementForRow: qualifier may not be null  exception whenever I call saveChanges() on my editing context.

My primary key is set up as follows:





Hi TimMay be you could try with:DbTest dbObj = (DbTest) EOUtilities.objectMatchingKeyAndValue (ec, "Test", "priKey", new Integer(0));>> DbTest dbObj = (DbTest) EOUtilities.objectMatchingKeyAndValue (ec,
"Test", "priKey", 0);


Cheers

Cheong Hee




 _______________________________________________
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

  • Follow-Ups:
    • Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
      • From: Chuck Hill <email@hidden>
    • Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
      • From: Kieran Kelleher <email@hidden>
References: 
 >Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception (From: "Cheong Hee (DS)" <email@hidden>)

  • Prev by Date: Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
  • Next by Date: Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
  • Previous by thread: Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
  • Next by thread: Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
  • Index(es):
    • Date
    • Thread