RE: Optimistic Locking 2

2010-11-22 Thread Bruno René Santos
Ok Michael I got it. About the second email I misinterpreted the sentence. Thanx a lot Bruno -Mensagem original- De: Michael Gentry [mailto:mgen...@masslight.net] Enviada: segunda-feira, 22 de Novembro de 2010 15:18 Para: user@cayenne.apache.org Assunto: Re: Optimistic Locking 2 I

Re: Optimistic Locking 2

2010-11-22 Thread Michael Gentry
I didn't entirely follow your question. Cayenne only sends changes for the fields that changed. If you have an object with 50 attributes and one of them is firstName and you only change the first name, then only the firstName column is sent in the SET portion of the SQL. UPDATE xyz SET firstName