docs: @Override
  	public CPOptionCategory[] findByCompanyId_PrevAndNext(
  		long CPOptionCategoryId, long companyId,
  		OrderByComparator<CPOptionCategory> orderByComparator)
  		throws NoSuchCPOptionCategoryException {
  		CPOptionCategory cpOptionCategory = findByPrimaryKey(CPOptionCategoryId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPOptionCategory[] array = new CPOptionCategoryImpl[3];
  
  			array[0] = getByCompanyId_PrevAndNext(session, cpOptionCategory,
  					companyId, orderByComparator, true);
  
  			array[1] = cpOptionCategory;
  
  			array[2] = getByCompanyId_PrevAndNext(session, cpOptionCategory,
  					companyId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}