I have
Entity A - type - uniqueKey
and
Entity B - uniqueKey
and i dont know how to integrate it into hibernate that i can produce results like from this query:
select * from A left join B on B.uniqueKey = A.uniqueKey and A.tpye = 1 where A.id is null
this will produce a result that has all the entries of B that are not in A for type = 1.
i know that i can just use a native query, but i would like to see a different solution.