@Transactional
  public void removeByName(String name) {
    SettingEntity entity = findByName(name);
    if (entity!= null) {
      entityManagerProvider.get().remove(entity);
    }
  }
Delete setting with given name.

@param name - name of setting to be deleted.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/SettingDAO.java