I need to fire below query using hibernate 5.2+, but there is no such way given in hibernate official docs
SELECT * from candidate WHERE candidate.id NOT IN (SELECT candidate_id FROM interview)
N.B. I don't want to use named query or native query stuffs which makes my code more database specific.
In the image below, Black circle is Candidate, White one is Interview.
Any idea how to run this.