Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
- Subject: Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
- From: Chuck Hill <email@hidden>
- Date: Thu, 9 Sep 2004 09:08:10 -0700
This is either an optimistic locking failure (someone else changed the
data after you read it and before you save it) or the values in the
where clause do not match the DB. The latter is usually caused by
incorrect value types or locking on floating point or date/time columns
which can be the victim of conversion errors. Turn on SQL logging,
look at the SQL that preceeds this exception, run it manually, and
start removing columns from the where clause to isolate the offending
data.
Chuck
On Sep 9, 2004, at 8:40 AM, Bill Reynolds wrote:
I get "_exceptionWithDatabaseContextInformationAdded" error when
trying to
.saveChanges() to a SQL database.
The complete error message is more like this:
---
Error:
com.webobjects.eoaccess.EOGeneralAdaptorException:
updateValuesInRowDescribedByQualifier --
com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in
database
Reason:
updateValuesInRowDescribedByQualifier --
com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in
database
---
Anyone have a good reference for seeing what this is all about?
Thanks!
-Bill
_______________________________________________
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.
_______________________________________________
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.