假设我有一个名为 的表,employee其字段为employee_id,name和supervisor_id,
employee_supervisor字段为supervisor_id和name。employee和employee_supervisor表相对于列存在外键关系supervisor_id。
如果我在类中进行多对一注释映射Employee,如何确保 Hibernate 使用 LEFT OUTER JOIN 来连接关联实体?
hibernate ×1