code: @Override
  	public CommerceAddress[] findByCommerceRegionId_PrevAndNext(
  		long commerceAddressId, long commerceRegionId,
  		OrderByComparator<CommerceAddress> orderByComparator)
  		throws NoSuchAddressException {
  		CommerceAddress commerceAddress = findByPrimaryKey(commerceAddressId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CommerceAddress[] array = new CommerceAddressImpl[3];
  
  			array[0] = getByCommerceRegionId_PrevAndNext(session,
  					commerceAddress, commerceRegionId, orderByComparator, true);
  
  			array[1] = commerceAddress;
  
  			array[2] = getByCommerceRegionId_PrevAndNext(session,
  					commerceAddress, commerceRegionId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}
docs: Returns the commerce addresses before and after the current commerce address in the ordered set where commerceRegionId = &#63;.
  
  @param commerceAddressId the primary key of the current commerce address
  @param commerceRegionId the commerce region ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the previous, current, and next commerce address
  @throws NoSuchAddressException if a commerce address with the primary key could not be found