String actualSql = batchUpdateDefinition.getActualSql(args);
List<Object[]> paramArrays = generateBatchQueryArguments(args, batchUpdateDefinition);
initContext(batchUpdateDefinition, args, SqlType.UPDATE);
JdbcDataAccessor dataAccessor = getDataAccessor();
KeyHolder keyHolder = null;
if (batchUpdateDefinition.isReturnId()) {
keyHolder = dataAccessor.getKeyHolder();
}
LOGGER.info("Normal Update SQL:" + actualSql);
int[] rows = dataAccessor.batchUpdate(actualSql, paramArrays, keyHolder);
if (keyHolder != null) {
List<Number> keys = getKeysFromKeyHolder(keyHolder);
return formatKeys(keys, batchUpdateDefinition);
} else {