Hibernate查询之后设置缓存
Query q = session.createQuery(hql);applyCondition(q, params);q.setCacheable(true);q.setCacheRegion("hotelSearch");List objs = q.list();
?