public static CommerceDiscountRel fetchByCD_CN_Last(
		long commerceDiscountId, long classNameId,
		OrderByComparator<CommerceDiscountRel> orderByComparator) {
		return getPersistence()
				   .fetchByCD_CN_Last(commerceDiscountId, classNameId,
			orderByComparator);
	}
public static CommerceDiscountRel fetchByCD_CN_Last ( long commerceDiscountId , long classNameId , OrderByComparator < CommerceDiscountRel > orderByComparator ) { return getPersistence ( ) . fetchByCD_CN_Last ( commerceDiscountId , classNameId , orderByComparator ) ; }
Returns the last commerce discount rel in the ordered set where commerceDiscountId = &#63; and classNameId = &#63;.

@param commerceDiscountId the commerce discount ID
@param classNameId the class name ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce discount rel, or <code>null</code> if a matching commerce discount rel could not be found