@Transactional
  public KerberosDescriptorEntity merge(KerberosDescriptorEntity kerberosDescriptorEntity) {
    return entityManagerProvider.get().merge(kerberosDescriptorEntity);
  }
Merge the state of the given entity into the current persistence context.

@param kerberosDescriptorEntity entity to merge
@return the merged entity
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosDescriptorDAO.java