code: @Override
  	public CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_Last(
  		long CPDefinitionOptionRelId,
  		OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) {
  		int count = countByCPDefinitionOptionRelId(CPDefinitionOptionRelId);
  
  		if (count == 0) {
  			return null;
  		}
  
  		List<CPDefinitionOptionValueRel> list = findByCPDefinitionOptionRelId(CPDefinitionOptionRelId,
  				count - 1, count, orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
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, or <code>null</code> if a matching cp definition option value rel could not be found