Bulk delete cascading into many-to-many join table not properly handling where clause

Description

Follows up on HHH-8476. DeleteExecutor was always calling DeleteStatement#getWhereClause. If one doesn't exist, it needlessly creates one and warns. Make 'er smarter.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure