• 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: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
      • From: Bill Reynolds <email@hidden>
References: 
 >_exceptionWithDatabaseContextInformationAdded when trying to update SQL Server (From: Bill Reynolds <email@hidden>)

  • Prev by Date: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
  • Next by Date: Re: D2WList behaviour in custom page
  • Previous by thread: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
  • Next by thread: Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server
  • Index(es):
    • Date
    • Thread