code: @Override
  	public CommerceDiscountUserSegmentRel findByCommerceUserSegmentEntryId_Last(
  		long commerceUserSegmentEntryId,
  		OrderByComparator<CommerceDiscountUserSegmentRel> orderByComparator)
  		throws NoSuchDiscountUserSegmentRelException {
  		CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel = fetchByCommerceUserSegmentEntryId_Last(commerceUserSegmentEntryId,
  				orderByComparator);
  
  		if (commerceDiscountUserSegmentRel != null) {
  			return commerceDiscountUserSegmentRel;
  		}
  
  		StringBundler msg = new StringBundler(4);
  
  		msg.append(_NO_SUCH_ENTITY_WITH_KEY);
  
  		msg.append("commerceUserSegmentEntryId=");
  		msg.append(commerceUserSegmentEntryId);
  
  		msg.append("}");
  
  		throw new NoSuchDiscountUserSegmentRelException(msg.toString());
  	}
docs: Returns the last commerce discount user segment rel in the ordered set where commerceUserSegmentEntryId = &#63;.
  
  @param commerceUserSegmentEntryId the commerce user segment entry ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching commerce discount user segment rel
  @throws NoSuchDiscountUserSegmentRelException if a matching commerce discount user segment rel could not be found