• 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: Bill Reynolds <email@hidden>
  • Date: Thu, 09 Sep 2004 09:21:53 -0700

I am working in a controlled environment, so I can rule out changes made to
data.

I created an eo model of a single table, just because I wanted to
incrementally test the whole premise of "SQL Server - EOModeler".  And to be
super cautious I only tried updating one record, one field.

I've never tried turning SQL logging on, can you point me to the right
location? (is it in xcode?)

I really appreciate your help :)

-Bill


on 9/9/04 09:08, Chuck Hill at email@hidden wrote:

> 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: Elizabeth Lynch <email@hidden>
References: 
 >Re: _exceptionWithDatabaseContextInformationAdded when trying to update SQL Server (From: Chuck Hill <email@hidden>)

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