提交 67926e67 编写于 作者: J jurgen

Changes reject fix

上级 2c1067f6
......@@ -205,8 +205,11 @@ class ResultSetPersister {
if (row.changes != null) {
for (Map.Entry<DBDAttributeBinding, Object> changedValue : row.changes.entrySet()) {
Object curValue = model.getCellValue(changedValue.getKey(), row);
DBUtils.releaseValue(curValue);
model.updateCellValue(changedValue.getKey(), row, changedValue.getValue(), false);
// If new value and old value are the same - do not release it
if (curValue != changedValue.getValue()) {
DBUtils.releaseValue(curValue);
model.updateCellValue(changedValue.getKey(), row, changedValue.getValue(), false);
}
}
row.changes = null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册