code: @Override
  	public CommerceTierPriceEntry[] findByCommercePriceEntryId_PrevAndNext(
  		long commerceTierPriceEntryId, long commercePriceEntryId,
  		OrderByComparator<CommerceTierPriceEntry> orderByComparator)
  		throws NoSuchTierPriceEntryException {
  		CommerceTierPriceEntry commerceTierPriceEntry = findByPrimaryKey(commerceTierPriceEntryId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceTierPriceEntry[] array = new CommerceTierPriceEntryImpl[3];
  
  			array[0] = getByCommercePriceEntryId_PrevAndNext(session,
  					commerceTierPriceEntry, commercePriceEntryId,
  					orderByComparator, true);
  
  			array[1] = commerceTierPriceEntry;
  
  			array[2] = getByCommercePriceEntryId_PrevAndNext(session,
  					commerceTierPriceEntry, commercePriceEntryId,
  					orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce tier price entries before and after the current commerce tier price entry in the ordered set where commercePriceEntryId = &#63;.
  
  @param commerceTierPriceEntryId the primary key of the current commerce tier price entry
  @param commercePriceEntryId the commerce price entry ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce tier price entry
  @throws NoSuchTierPriceEntryException if a commerce tier price entry with the primary key could not be found