Re: Help with updateValuesInRowDescribedByQualifier

2013-10-11 Thread Fabian Peters
I ran into this as well. To prevent trailing spaces from getting added, you can set er.extensions.ERXGenericRecord.shouldTrimSpaces=true. I just re-created my pull-request that excludes read-only attributes from being touched: You'll obviously st

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-11 Thread Markus Ruggiero
A similar issue I had recently and there was another post one or two days ago pointing to the same thing: trailing spaces! My case: an attribute in the DB was set to be of type char. In the EOModel I had specified varchar2 for the external datatype (this is Oracle). With char you get a right sp

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread Timothy Worman
+1 Turn on SQL logging and look at the exact sql that is being executed to update the row in the database. Test the “WHERE” clause in the update statement and see if it is as it should be for the row in the database. Tim UCLA GSE&IS On Oct 9, 2013, at 9:30 AM, John Huss wrote: > This is an o

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread John Huss
This is an optimistic locking error - the record was changed by another user concurrently or you have precision differences (like in NSTimestamps) that are causing the DB and memory to not match. On Wed, Oct 9, 2013 at 8:59 AM, Jesse Tayler wrote: > > what’s this? unknown source? caught my eye.

Re: Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread Jesse Tayler
what’s this? unknown source? caught my eye... at boise.app.components.PersonnelDetail.inviteUser(Unknown Source) yes, it does seem like maybe your model is out of sync, at least you’re not getting much information back about it in the trace. did you turn on SQL debugging and generally

Help with updateValuesInRowDescribedByQualifier

2013-10-09 Thread Paul Yu
Greetings I'm getting errors like this in my production system. What should I be looking for to fix these type of issues? I saw a previous post that the EOModel may be out of synch with the DB? Thanks in advance... Paul *** UNCAUGHT EXCEPTION *** com.webobjects.eoaccess.EOGeneralAdaptorE