tmobst2】的更多相关文章

(单选题)与下面代码效果相同的HQL 语句是( ). Criteria criteria = session.createCriteria(User.class); criteria.add(Restrictions.like("name","admin%")); List result = criteria.list(); A)from User where name like 'admin%' B)from User where name like '%admi…