Query query = vtoccQueryFactory.create(sql, parameters);
// TODO(timofeyb): provide rpc controller
QueryService.QueryResult response = sqlQueryBlockingInterface
.execute(rpcControllerProvider.get(), query);
return new UpdateResult((int) response.getRowsAffected());
} catch (ServiceException e) {
LOGGER.debug("SqlUpdate failed: ", e);
throw VtoccSqlExceptionFactory.getSqlException(e);
}
}