A native query with a select * and joins with relations containing the same column names as the query root produces a NonUniqueDiscoveredSqlAliasException. This used to work in Hibernate 5.6.
native-query-duplicate-alias-reproducer.zip