Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNmQ3YWFkNjRl...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16955?atlOrigin=eyJpIjoiNmQ3YW...
) HHH-16955 (
https://hibernate.atlassian.net/browse/HHH-16955?atlOrigin=eyJpIjoiNmQ3YW...
) fetch joins get included in implicit query result tuple (
https://hibernate.atlassian.net/browse/HHH-16955?atlOrigin=eyJpIjoiNmQ3YW...
)
Issue Type: Bug Assignee: Unassigned Components: query-hql Created: 19/Jul/2023 08:50 AM
Priority: Critical Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
It appears that queries like this:
from Entity left join fetch association
with:
* an implicit select , and
* a {{fetch}}ed association.
result in an implicit result Object[] or Tuple which includes the fetched entity.
Entities resulting from {{fetch join}}s should never be included in the result tuple.
(
https://hibernate.atlassian.net/browse/HHH-16955#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16955#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#100232- sha1:304e1c7 )