Tomáš Müller (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5b50823...
) *commented* on HHH-16513 (
https://hibernate.atlassian.net/browse/HHH-16513?atlOrigin=eyJpIjoiN2JjZm...
)
Re: Wrong query generated for a parent-child relation within the same table (
https://hibernate.atlassian.net/browse/HHH-16513?atlOrigin=eyJpIjoiN2JjZm...
)
Hi Marco,
The test now passes, and the generated SQL is correct:
select
s1_0.id,
p1_0.id
from
subpart s1_0
join
subpart p1_0
on p1_0.id=s1_0.parent
So, the issue appears to be fixed in Hibernate 6.2.2.
Thanks,
Tomas
(
https://hibernate.atlassian.net/browse/HHH-16513#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16513#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#100224- sha1:07bd2b7 )