[#2798] Inconsistent logic executed between Record.setValue(Field<T>, T) and BookRecord.setId(Integer) (generated)