query.addCriteria(new MatchCriteria(table, getColumnNameRunDistanceGroupID(), MatchCriteria.EQUALS, distancePK));
	public int ejbHomeGetNextAvailableParticipantNumber(int min, int max) throws IDOException {		Table table = new Table(this);				SelectQuery query = new SelectQuery(table);		query.addColumn(new MaxColumn(getColumnNameParticipantNumber()));		query.addCriteria(new MatchCriteria(table, getColumnNameParticipantNumber(), MatchCriteria.GREATEREQUAL, min));		query.addCriteria(new MatchCriteria(table, getColumnNameParticipantNumber(), MatchCriteria.LESSEQUAL, max));				return idoGetNumberOfRecords(query.toString());	}