@Transactional
  public void remove(ServiceConfigEntity serviceConfigEntity) {
    entityManagerProvider.get().remove(merge(serviceConfigEntity));
  }
Gets the next version that will be created when persisting a new
{@link ServiceConfigEntity}.

@param clusterId
         the cluster that the service is a part of.
@param serviceName
         the name of the service (not {@code null}).
@return the maximum version value + 1
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ServiceConfigDAO.java