public static void main(String[] args) {
		logger.debug("----------staring------------");
		long start = System.currentTimeMillis();
		BeanUtils beanUtils = new BeanUtils();
		MongoDao mdao = new MongoDao(beanUtils);
		List<EntityBean> listBean = mdao.queryList();
		for(EntityBean b : listBean){
			try {
				mdao.saveRecord(b);
			} catch(Exception e){
				logger.error("error occurred while saving entitybean["+b.toString()+"] to mongo", e);
			}
		}
		long finish = System.currentTimeMillis();
		logger.debug("----------finished------------, totaly millsecond: "+(finish-start));
	}