Using an outer join on an element collection with additional where clause does not inject the where clause in the actual query.
It does add the parameter(s) to the query, so if there are any parameters a jdbc exception is caused by the mismatch in the parameters.
Was able to trace the cause back to the fix for HHH-7355: [ https://github.com/hibernate/hibernate-orm/pull/1117/files |https://github.com/hibernate/hibernate-orm/pull/1117/files]
Test case will be linked after creation of the ticket :
[https://github.com/wiebren/hibernate-orm/commit/7f4e8ee75275958c31cdd2371f80906a0e8ea810|https://github.com/wiebren/hibernate-orm/commit/7f4e8ee75275958c31cdd2371f80906a0e8ea810|smart-link] |
|