Batch update returned unexpected row count from update; actual row count: 0; expected: 1
the problem was that on Save I shouldn't supply the id value and on update I must supply it.
You must set the Id object to null
before saving.
example:
obj.setId(null);
objectDao.save(obj);