@Override
	@Transactional
	public List getFilterValuesforReview(String merchantName, String userName,
			String reviewStatus) throws Exception {
		List filterValuesList = new ArrayList();

		try {
			if (merchantName != null) {
				Query getMerchant = sessionFactory
						.getCurrentSession()
						.createQuery(
								"select merchantReview.oMerchant from MerchantReview merchantReview");

				filterValuesList = getMerchant.list();
				System.out
						.println("merchant size..." + filterValuesList.size());
				Iterator iterator = filterValuesList.iterator();
				while (iterator.hasNext()) {
					Merchant merchant = (Merchant) iterator.next();
					System.out.println("merchant-------->" + merchant);
				}
			} else if (userName != null) {
				Query getCashBackuser = sessionFactory
						.getCurrentSession()
						.createQuery(
								"select merchantReview.oCashBackUser from MerchantReview merchantReview");

				filterValuesList = getCashBackuser.list();
				System.out.println("user size..." + filterValuesList.size());
				Iterator iterator = filterValuesList.iterator();
				while (iterator.hasNext()) {
					CashBackUser cashBackUser = (CashBackUser) iterator.next();
					System.out.println("user-------->" + cashBackUser);
				}
			} else {
				Query getReview = sessionFactory
						.getCurrentSession()
						.createQuery(
								"select merchantReview.oStatus from MerchantReview merchantReview");
				filterValuesList = getReview.list();
				System.out.println("review status size..." + filterValuesList.size());
				Iterator iterator = filterValuesList.iterator();
				while (iterator.hasNext()) {
					MerchantReviewStatus MerchantreviewStatus = (MerchantReviewStatus) iterator.next();
					System.out.println("reviewStatus-------->" + MerchantreviewStatus);
				}
			}
		} catch (Exception exception) {
			throw exception;
		}
		return filterValuesList;
	}