Hibernate Dao, similar with Hibernate Demo.Just supply UserDao.java file.