把Sql转换成hql语句,求高手转下。该如何解决

把Sql转换成hql语句,求高手转下。。
select dept_name,user_true_name from sys_user,sys_department where sys_department.dept_id =2 and user_role_id =3 and sys_department.dept_id=sys_user.dept_id
我想用hibernate求出部门经理,这条sql语句可以求出来,但是不知道在hibernate里怎么写。。

------解决方案--------------------
hibernate里面也可以用native sql 呀~
------解决方案--------------------
Java code

String hql = "from 实体类 where 实体类的属性=条件  ";

------解决方案--------------------
select dept_name,user_true_name from sys_user,sys_department where sys_department.dept_id =2 and user_role_id =3 and sys_department.dept_id=sys_user.dept_id


from 实体 as a ,实体 as b where a.deptId=2 and a.userRoleId=3 and b.DeptId=a.DeptId
------解决方案--------------------
2楼,3楼正解