code: @Override
  	public CommerceDiscountRel findByCN_CPK_Last(long classNameId,
  		long classPK, OrderByComparator<CommerceDiscountRel> orderByComparator)
  		throws NoSuchDiscountRelException {
  		CommerceDiscountRel commerceDiscountRel = fetchByCN_CPK_Last(classNameId,
  				classPK, orderByComparator);
  
  		if (commerceDiscountRel != null) {
  			return commerceDiscountRel;
  		}
  
  		StringBundler msg = new StringBundler(6);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("classNameId=");
  		msg.append(classNameId);
  
  		msg.append(", classPK=");
  		msg.append(classPK);
  
  		msg.append("}");
  
  		throw new NoSuchDiscountRelException(msg.toString());
  	}
docs: Returns the last commerce discount rel in the ordered set where classNameId = &#63; and classPK = &#63;.
  
  @param classNameId the class name ID
  @param classPK the class pk
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching commerce discount rel
  @throws NoSuchDiscountRelException if a matching commerce discount rel could not be found