code: public void fetchMode(String associationPath, FetchMode fetchMode) {
          if (criteria != null) {
              criteria.setFetchMode(associationPath, fetchMode);
          }
      }
docs: Sets the fetch mode of an associated path
  
  @param associationPath The name of the associated path
  @param fetchMode The fetch mode to set