Re: Update & Delete of an Enterprise Object causes EOEditingContext.saveChanges() to Exception
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