I can confirm that hibernate 5 also tries to render a join which is obviously wrong for a delete query. See the attached test case. A possible workaround is to use a subquery that selects the ids and match them with an IN in the delete query.