标签: hibernate left-join hibernate-criteria
我想在两个表上执行“左外连接”,具有连接条件。表格是:
TableA(col1A, col2A) TableB(col1B, col2B)
查询是:
select * from TableA ta left outer join TableB tb on (ta.col1A=tb.col1B and ta.col2A=tb.col2B);
如何使用hibernate标准实现相同目的。
- 谢谢, 的Teja。