public Account findAccount(String accountName, String clientId) throws XStoreException{
		Account account = null;
		logger.info("accountName - " + accountName);
		logger.info("clientId - " + clientId);
		try {
			TypedQuery<Account> qry = em.createQuery("select A from Account A where A.client.clientName=:clientId and A.accountName=:accountName", Account.class);
			qry.setParameter("accountName", accountName);
			qry.setParameter("clientId", clientId);
			account = qry.getSingleResult();
			logger.info("Number of records fetched - " + account);
		} catch(NoResultException e) {
			logger.severe("Error occured - " + e.getMessage());
			logger.severe("Stacktrace - \n" + ExceptionUtils.getStackTrace(e));
			throw new XStoreException("CLIENT_ACCOUNT_NOT_FOUND");
		} catch(Exception e) {
			logger.severe("Error occured - " + e.getMessage());
			logger.severe("Stacktrace - \n" + ExceptionUtils.getStackTrace(e));
			throw new XStoreException(e.getMessage(),e.getCause());
		}
		return account;
	}