Re: snapshot does not contain value for attribute named x with snapshot key: x ?
Re: snapshot does not contain value for attribute named x with snapshot key: x ?
- Subject: Re: snapshot does not contain value for attribute named x with snapshot key: x ?
- From: Jacky Gagnon <email@hidden>
- Date: Fri, 30 Mar 2007 10:39:21 -0400
Hi Alan,
Check if you follow the EOF commandments :
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
The_EOF_Commandments
And be sure to lock correctly your editing context :
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Context_and_Database_Locking
Good luck!
On 07-03-30, at 10:14, Alan Zebchuk wrote:
Does anyone know what would cause the following error and what the
solution is?
er.extensions.ERXApplication (ERXApplication.java:904) -
Exception caught: rowDiffsForAttributes: snapshot in
com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {};
_entity = "MyEntity"; _newRow = {content = "Some Random Content";
myInteger = 1; oid = 336; }; _object =
"<ca.protocolis.entity.MyTestEntity pk:"336">"; _globalID =
_EOIntegralKeyGlobalID[MyTestEntity (java.lang.Integer)336];
_databaseOperator = "EODatabaseUpdateOperator"; } does not contain
value for attribute named content with snapshot key: content
Thanks,
Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40druide.com
This email sent to email@hidden
_______________________________________________
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