code: @Override
  	public CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_First(
  		long CPOptionCategoryId,
  		OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
  		throws NoSuchCPDefinitionSpecificationOptionValueException {
  		CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue =
  			fetchByCPOptionCategoryId_First(CPOptionCategoryId,
  				orderByComparator);
  
  		if (cpDefinitionSpecificationOptionValue != null) {
  			return cpDefinitionSpecificationOptionValue;
  		}
  
  		StringBundler msg = new StringBundler(4);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("CPOptionCategoryId=");
  		msg.append(CPOptionCategoryId);
  
  		msg.append("}");
  
  		throw new NoSuchCPDefinitionSpecificationOptionValueException(msg.toString());
  	}
docs: Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = &#63;.
  
  @param CPOptionCategoryId the cp option category ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching cp definition specification option value
  @throws NoSuchCPDefinitionSpecificationOptionValueException if a matching cp definition specification option value could not be found