@Transactional
  public void create(ServiceComponentDesiredStateEntity serviceComponentDesiredStateEntity) {
    entityManagerProvider.get().persist(serviceComponentDesiredStateEntity);
  }
Finds a {@link ServiceComponentDesiredStateEntity} by a combination of cluster id, service and component names.
@param serviceComponentDesiredStates - component names mapped by service names and cluster ids.
@return all found entities according to input map.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceComponentDesiredStateDAO.java