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