Moritz Becker (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOTNhNjIyNWRm...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16994?atlOrigin=eyJpIjoiOTNhNj...
) HHH-16994 (
https://hibernate.atlassian.net/browse/HHH-16994?atlOrigin=eyJpIjoiOTNhNj...
) Native query with select * and join throws NonUniqueDiscoveredSqlAliasException (
https://hibernate.atlassian.net/browse/HHH-16994?atlOrigin=eyJpIjoiOTNhNj...
)
Issue Type: Bug Affects Versions: 6.2.7 Assignee: Unassigned Attachments:
native-query-duplicate-alias-reproducer.zip Components: hibernate-core Created:
25/Jul/2023 23:02 PM Priority: Major Reporter: Moritz Becker (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
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 (
https://hibernate.atlassian.net/rest/api/3/attachment/content/50530 )
(
https://hibernate.atlassian.net/browse/HHH-16994#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16994#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- sha1:62cfdef )