code: public static CPDefinitionOptionRel fetchByCPDefinitionId_Last(
  		long CPDefinitionId,
  		OrderByComparator<CPDefinitionOptionRel> orderByComparator) {
  		return getPersistence()
  				   .fetchByCPDefinitionId_Last(CPDefinitionId, orderByComparator);
  	}
docs: Returns the last cp definition option rel 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 option rel, or <code>null</code> if a matching cp definition option rel could not be found