摘要:
HQL: from Student s where s.age>:agehibernateTemplate.getSessionFactory().openSession().createQuery(hql).setInt("age",15); from student s where s.id in (:ids) hibernateTemplate.getSessionFactory().openSession().createQuery(hql).setParameterList("ids",new integer[]{100,102}); S 阅读全文
posted @ 2013-03-18 11:06
panlovestan
阅读(308)
评论(0)
推荐(0)
浙公网安备 33010602011771号