code: @Override
  	public CommerceTaxFixedRate[] findByCommerceTaxMethodId_PrevAndNext(
  		long commerceTaxFixedRateId, long commerceTaxMethodId,
  		OrderByComparator<CommerceTaxFixedRate> orderByComparator)
  		throws NoSuchTaxFixedRateException {
  		CommerceTaxFixedRate commerceTaxFixedRate = findByPrimaryKey(commerceTaxFixedRateId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceTaxFixedRate[] array = new CommerceTaxFixedRateImpl[3];
  
  			array[0] = getByCommerceTaxMethodId_PrevAndNext(session,
  					commerceTaxFixedRate, commerceTaxMethodId,
  					orderByComparator, true);
  
  			array[1] = commerceTaxFixedRate;
  
  			array[2] = getByCommerceTaxMethodId_PrevAndNext(session,
  					commerceTaxFixedRate, commerceTaxMethodId,
  					orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce tax fixed rates before and after the current commerce tax fixed rate in the ordered set where commerceTaxMethodId = &#63;.
  
  @param commerceTaxFixedRateId the primary key of the current commerce tax fixed rate
  @param commerceTaxMethodId the commerce tax method ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce tax fixed rate
  @throws NoSuchTaxFixedRateException if a commerce tax fixed rate with the primary key could not be found