为了账号安全,请及时绑定邮箱和手机立即绑定

基于SSH实现员工管理系统之案例实现篇 4-1 18:26

 Hibernate: 

    select

        employees0_.department_did as departme9_0_1_,

        employees0_.eid as eid1_1_1_,

        employees0_.eid as eid1_1_0_,

        employees0_.birthday as birthday2_1_0_,

        employees0_.department_did as departme9_1_0_,

        employees0_.ename as ename3_1_0_,

        employees0_.eno as eno4_1_0_,

        employees0_.joinDate as joinDate5_1_0_,

        employees0_.password as password6_1_0_,

        employees0_.sex as sex7_1_0_,

        employees0_.username as username8_1_0_ 

    from

        Employee employees0_ 

    where

        employees0_.department_did=?


从控制台也看见了,查询的打印信息,但是部门名称一直不显示,我用的注解

正在回答

1 回答

第一,opensessioninviewfilter放在Struts的filter的前面;

第二,数据库的员工数据里的所属部门要填有数据;


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

基于SSH实现员工管理系统之案例实现篇 4-1 18:26

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信