Which was causing the optimistic lock to fail in MySQL since it was trying to update the data with exact same value.
integer
and
boolean