Hi! >> Is it possible to describe "full attribute optimistic locking" in a couple >> of sentences, or should I look at the cayenne docs? (A quick google didn't >> show anything obviously related..) >> > > Sure. Instead of creating and locking on a special version field, > lock on all fields (or all that are important). Assuming table > foo[w,x,y,z], use "update foo set x=1, y=1 where w=old_w, x=old_x, > y=old_y, z=old_z" > Beware, (especially with the "or all that are important" thing) this might allow to become your entity out of sync. Means, your entity is a mixture of different updates which you are not aware of then. Using all properties of the version column (which might be more performant) is the only option to prevent this.
Ciao, Mario

