Join without association in HQL

后端 未结 4 571
时光说笑
时光说笑 2020-12-08 06:31

Lets say I have two tables(A, B) like:

A {id, a, c}
B {id, b, c}

I have also their entities. I want to write an HQL so that the result set

4条回答
  •  借酒劲吻你
    2020-12-08 07:20

    if you want to make outer join you can make sub query and manage OR operation ( it works for me ). it's make the query more complex and worst performant but works :-)

提交回复
热议问题