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