docs: @Override
  	public CPMeasurementUnit[] findByG_T_PrevAndNext(long CPMeasurementUnitId,
  		long groupId, int type,
  		OrderByComparator<CPMeasurementUnit> orderByComparator)
  		throws NoSuchCPMeasurementUnitException {
  		CPMeasurementUnit cpMeasurementUnit = findByPrimaryKey(CPMeasurementUnitId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPMeasurementUnit[] array = new CPMeasurementUnitImpl[3];
  
  			array[0] = getByG_T_PrevAndNext(session, cpMeasurementUnit,
  					groupId, type, orderByComparator, true);
  
  			array[1] = cpMeasurementUnit;
  
  			array[2] = getByG_T_PrevAndNext(session, cpMeasurementUnit,
  					groupId, type, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}