This might be related to https://hibernate.atlassian.net/browse/HHH-16494, as that issue is meant to address implicitly treated joins (i.e. that use subtypes without an explicit treat in the query) correctly.