0

Is any hibernate query similar to the following query?

MySql Query >> select * from mother mot left join children ch on ch.mid = mot.id where ch.id is null

mot.id - primary key of mother

ch.mid - foreign key

ch.id - primary key of children

Fire Ratz
  • 3
  • 1

1 Answers1

0
select m from mother m left join m.childrens ch 
 where ch.mid = m.id and ch.id is null
void
  • 7,760
  • 3
  • 25
  • 43