public List findByExample(Privilege instance) {
		log.debug("finding Privilege instance by example");
		try {
			List results = getSession()
					.createCriteria("com.mp2srt.hibernate.Privilege")
					.add(Example.create(instance)).list();
			log.debug("find by example successful, result size: "
					+ results.size());
			return results;
		} catch (RuntimeException re) {
			log.error("find by example failed", re);
			throw re;
		}
	}