Employee 类与 Department类是多对一关系,分别对应于表s_emp 和 s_dept表
其中s_emp表中外键 dept_id,
Employee中有dept成员,Department中有Set集合
hibernate.hbm.xml都配置好了,不知道怎么写 全外连接语句
String hql="select E.id,D.id from Employee E full join Department D";不行啊
Employee 类与 Department类是多对一关系,分别对应于表s_emp 和 s_dept表
其中s_emp表中外键 dept_id,
Employee中有dept成员,Department中有Set集合
hibernate.hbm.xml都配置好了,不知道怎么写 全外连接语句
String hql="select E.id,D.id from Employee E full join Department D";不行啊