docs: @Override
  	public CPRuleUserSegmentRel[] findByCPRuleId_PrevAndNext(
  		long CPRuleUserSegmentRelId, long CPRuleId,
  		OrderByComparator<CPRuleUserSegmentRel> orderByComparator)
  		throws NoSuchCPRuleUserSegmentRelException {
  		CPRuleUserSegmentRel cpRuleUserSegmentRel = findByPrimaryKey(CPRuleUserSegmentRelId);
  
  		Session session = null;
  
  		try {
  			session = openSession();
  
  			CPRuleUserSegmentRel[] array = new CPRuleUserSegmentRelImpl[3];
  
  			array[0] = getByCPRuleId_PrevAndNext(session, cpRuleUserSegmentRel,
  					CPRuleId, orderByComparator, true);
  
  			array[1] = cpRuleUserSegmentRel;
  
  			array[2] = getByCPRuleId_PrevAndNext(session, cpRuleUserSegmentRel,
  					CPRuleId, orderByComparator, false);
  
  			return array;
  		}
  		catch (Exception e) {
  			throw processException(e);
  		}
  		finally {
  			closeSession(session);
  		}
  	}