naizarak (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5ac8b46...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiY2NlNDMzZDE2...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15547?atlOrigin=eyJpIjoiY2NlND...
) HHH-15547 (
https://hibernate.atlassian.net/browse/HHH-15547?atlOrigin=eyJpIjoiY2NlND...
) Multi-fetch with a single bag returns duplicates (
https://hibernate.atlassian.net/browse/HHH-15547?atlOrigin=eyJpIjoiY2NlND...
)
Issue Type: Bug Affects Versions: 6.1.3 Assignee: Unassigned Components: hibernate-core
Created: 26/Sep/2022 00:30 AM Environment: Hibernate 6.1.3
JPA 3.0
JDK 11 Labels: MultipleBagFetchException bag duplicates Priority: Minor Reporter: naizarak
(
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5ac8b46...
)
Fetching multiple bags isn't allowed and throws a 'MultipleBagFetchException'.
However multi-fetching a bag with a non-bag collection is allowed even though it also
produces indeterminate duplicate values (i.e. can't differentiate deliberate vs
cartesian duplicates). Logically this operation should also be illegal, otherwise it
yields an incorrect representation of the object state.
(
https://hibernate.atlassian.net/browse/HHH-15547#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15547#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#100207- sha1:1c92a42 )