Also, please clarify what the “bug” is, because as far as I understand, the additional join doesn’t change the semantics, or does it? If this is about duplicate elements in the collection, this will be fixed as part of https://hibernate.atlassian.net/browse/HHH-15547 and https://github.com/hibernate/hibernate-orm/pull/5396 |