在Hibernate的Criteria查询中,有如下代码: 其对应的HQL语句为()
- A、String hql = "from Dept";
- B、String hql = "from Dept as model";
- C、String hql = "from Dept as model where model.deptName =’人事部’";
- D、String hql = "from Dept as model where model.deptName = 人事部";
正确答案:C
答案解析:有
微信扫一扫手机做题