code: static void removeEntityGraphs(Map<String, Object> queryHints) {
      if (queryHints == null) {
        return;
      }
      queryHints.remove(EntityGraph.EntityGraphType.FETCH.getKey());
      queryHints.remove(EntityGraph.EntityGraphType.LOAD.getKey());
    }
docs: Remove all EntityGraph pre existing in the QueryHints
  
  @param queryHints