public List findPage(int page,int size) {
		log.debug("finding all Record instances");
		try {
			String queryString = "from Record";
			Query queryObject = getSession().createQuery(queryString);
			queryObject.setFirstResult(page);
			queryObject.setMaxResults(size);
			return queryObject.list();
		} catch (RuntimeException re) {
			log.error("find all failed", re);
			throw re;
		}
	}