按map返回的写法 Query query = session.createQuery("select new map(a+b,description) from MyObject myObject");// from后面是类名list = query.list();// list内每个元素都是map