initContext(updateDefinition, args, SqlType.UPDATE);
JdbcDataAccessor dataAccessor = getDataAccessor();
KeyHolder keyHolder = null;
if (isReturnId) {
keyHolder = dataAccessor.getKeyHolder();
}
LOGGER.info("Normal Update SQL:" + actualSql);
int rows = dataAccessor.update(actualSql, keyHolder, paramArray);
if (keyHolder != null) {
return keyHolder.getKey();
} else {
return rows;
}
}