Alex CD (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiY2NjODAxNmU3...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-14114?atlOrigin=eyJpIjoiY2NjOD...
) HHH-14114 (
https://hibernate.atlassian.net/browse/HHH-14114?atlOrigin=eyJpIjoiY2NjOD...
) Duplicate order column (
https://hibernate.atlassian.net/browse/HHH-14114?atlOrigin=eyJpIjoiY2NjOD...
)
Issue Type: Bug Affects Versions: 5.4.17 Assignee: Unassigned Created: 22/Jul/2020 10:06
AM Priority: Major Reporter: Alex CD (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Current behavior when retrieving children ordered by column with a duplicate order column
is to skip the duplicate child.
This leads to *silent errors*.
This could be resolved by:
* Throw an error when duplicate order column is found
* Or better yet, a duplicate order column value means that order of those duplicate
elements is not important and thus should be added to collection in undefined order and
continue where it left with next order column value.
Workaround:
Database constraint to not allow duplicate parent/order pairs.
(
https://hibernate.atlassian.net/browse/HHH-14114#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14114#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#100133- sha1:ead1094 )