A.String hql = from Dept ;B.String hql = from Dept as m……
在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 = 人事部";