code: private void applyUpdates(DBTransaction transaction) {
          if (transaction.getMutationsCount() == 0) {
              m_logger.debug("Skipping commit with no updates");
          } else if (m_dbservice.getParamBoolean("async_updates")) {
              executeUpdatesAsynchronous(transaction);
          } else {
              executeUpdatesSynchronous(transaction);
          }
      }
docs: Execute a batch statement that applies all updates in this transaction.