@Transactional
  public void removeByName(String name) {
    entityManagerProvider.get().remove(findByName(name));
  }
Remove entity instance by primary key

@param name Primary key: kerberos descriptor name
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosDescriptorDAO.java