docs: @Override
  	public CPDefinition[] findByCPTaxCategoryId_PrevAndNext(
  		long CPDefinitionId, long CPTaxCategoryId,
  		OrderByComparator<CPDefinition> orderByComparator)
  		throws NoSuchCPDefinitionException {
  		CPDefinition cpDefinition = findByPrimaryKey(CPDefinitionId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPDefinition[] array = new CPDefinitionImpl[3];
  
  			array[0] = getByCPTaxCategoryId_PrevAndNext(session, cpDefinition,
  					CPTaxCategoryId, orderByComparator, true);
  
  			array[1] = cpDefinition;
  
  			array[2] = getByCPTaxCategoryId_PrevAndNext(session, cpDefinition,
  					CPTaxCategoryId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}