code: @Override
  	public CommerceDiscountRel fetchByCN_CPK_First(long classNameId,
  		long classPK, OrderByComparator<CommerceDiscountRel> orderByComparator) {
  		List<CommerceDiscountRel> list = findByCN_CPK(classNameId, classPK, 0,
  				1, orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
docs: Returns the first 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 first matching commerce discount rel, or <code>null</code> if a matching commerce discount rel could not be found