OK -

I combed through my model. Made everything in the one properties file, learned 
about framework model precedences and still have this problem on one my 
entities?

Any ideas out there Wonder/WO gurus?

Thanks
James



On Jan 10, 2012, at 11:00 AM, Ruenagel, Frank wrote:

> Hi there,
> 
> EOGeneralAdaptorExceptions  in my apps typically are optimistic locking 
> exceptions.
> Please check whether the record in the db was changed 
> by another app or manually via SQL  (after the EO was fetched by your WO-App).
> 
> If this is not the case and you can reproduce the error,  you may try to get 
> the userInfo  dictionary of the error similar to:
> 
> catch (EOGeneralAdaptorException e)
>                       {
>                               String eType = 
> (String)e.userInfo().objectForKey(EOAdaptorChannel.AdaptorFailureKey);
>                               if 
> (EOAdaptorChannel.AdaptorOptimisticLockingFailure.equals(eType))
>                               ....
> 
> Regards
> Frank
> 
> 
> Von: [email protected] 
> [mailto:[email protected]] Im 
> Auftrag von James Cicenia
> Bereitgestellt: Dienstag, 10. Januar 2012 14:24
> Bereitgestellt in: WebObjects
> Unterhaltung: updateValuesInRowDescribedByQualifier fail.
> Betreff: updateValuesInRowDescribedByQualifier fail.
> 
> This is on my new D2WModernLook app.
> 
> The app has been working great. I just added a many-to-many. Now when I go to 
> edit, create and then save I get an error like follow:
> 
> I have neve seen this type of error... Though these are all my new wonder 
> apps...
> 
> 
> 
>       "EOFailedDatabaseOperationKey" = "{_dbSnapshot = {addDate = 2012-01-09 
> 06:00:00 Etc/GMT; authorID = 4; category_id = 4; description = 
> <com.webobjects.foundation.NSKeyValueCoding$Null>; fullQuote = \"Love is 
> swift, sincere, pious, joyful, generous, strong, patient, faithful, prudent, 
> long-suffering, courageous, and never seeking its own; for wheresoever a 
> person seeketh his own, there he falleth from love.\"; id = 3; isNew = false; 
> mainImageId = <com.webobjects.foundation.NSKeyValueCoding$Null>; modDate = 
> 2012-01-09 06:00:00 Etc/GMT; publish = false; thumbnailImageId = 
> <com.webobjects.foundation.NSKeyValueCoding$Null>; title = \"Love\"; }; 
> _entity = \"Quotation\"; _newRow = {addDate = 2012-01-09 06:00:00 Etc/GMT; 
> authorID = 4; category_id = 4; description = 
> <com.webobjects.foundation.NSKeyValueCoding$Null>; fullQuote = \"<p>Love is 
> swift, sincere, pious, joyful, generous, strong, patient, faithful, prudent, 
> long-suffering, courageous, and never seeking its own; for wheresoever a 
> person seeketh his own, there he falleth from love.</p>\"; id = 3; isNew = 
> false; mainImageId = <com.webobjects.foundation.NSKeyValueCoding$Null>; 
> modDate = 2012-01-10 03:47:57 Etc/GMT; publish = false; thumbnailImageId = 
> <com.webobjects.foundation.NSKeyValueCoding$Null>; title = \"Love\"; }; 
> _object = \"<com.jimijon.blessings.eos.Quotation pk:\"3\">\"; _adaptorOps = 
> ({_qualifier = \"((id = 3) and (authorID = 4) and (category_id = 4) and 
> (description = null) and (fullQuote = 'Love is swift, sincere, pious, joyful, 
> generous, strong, patient, faithful, prudent, long-suffering, courageous, and 
> never seeking its own; for wheresoever a person seeketh his own, there he 
> falleth from love.') and (isNew = (java.lang.Boolean)'false') and 
> (mainImageId = null) and (publish = (java.lang.Boolean)'false') and 
> (thumbnailImageId = null) and (title = 'Love'))\"; _adaptorOperator = 
> \"EOAdaptorUpdateOperator\"; _entity = \"Quotation\"; _exception = 
> com.webobjects.eoaccess.EOGeneralAdaptorException: 
> updateValuesInRowDescribedByQualifier -- 
> com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in 
> database; _changedValues = {modDate = 2012-01-10 03:47:57 Etc/GMT; fullQuote 
> = \"<p>Love is swift, sincere, pious, joyful, generous, strong, patient, 
> faithful, prudent, long-suffering, courageous, and never seeking its own; for 
> wheresoever a person seeketh his own, there he falleth from love.</p>\"; }; 
> }); _globalID = _EOIntegralKeyGlobalID[Quotation (java.lang.Integer)3]; 
> _databaseOperator = \"EODatabaseUpdateOperator\"; }";
> }
> 
> EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- 
> com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database
>   at 
> com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504)
>      ... skipped 1 stack elements
>   at 
> com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
>   at 
> com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
>   at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1085)
>   at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1007)
>   at 
> er.directtoweb.pages.ERD2WInspectPage.tryToSaveChanges(ERD2WInspectPage.java:217)
>   at 
> er.directtoweb.pages.ERD2WInspectPage.submitAction(ERD2WInspectPage.java:263)
>   at 
> er.modern.look.pages.ERMODInspectPage.submitAction(ERMODInspectPage.java:95)
>   ... skipped 112 stack elements
> Jan 09 21:47:58 BlessingsApp[6789] DEBUG 
> er.extensions.components._private.ERXWORepetition  - appendToResponse:5.3.0.7
> Jan 09 21:47:58 BlessingsApp[6789] DEBUG 
> er.extensions.appserver.ajax.ERXAjaxSession  - Calling super.savePage for 
> contextID 4
> Jan 09 21:47:58 BlessingsApp[6789] DEBUG er.extensions.eof.ERXEC  - After 
> popping: []
> Jan 09 21:47:58 BlessingsApp[6789] DEBUG er.extensions.ERXEC.LockLogger  - 
> unlocked er.extensions.eof.ERXEC@7b65de14
> 
> 
> 
> 
> 
> James Cicenia 
> cell: 773.398.4649
> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to