[hibernate-issues] [JIRA] (HHH-13877) Make '@SortNatural' as default for SortedSet and SortedMap

Nathan Xu (JIRA) jira at hibernate.atlassian.net
Sun Feb 23 11:43:12 EST 2020


Nathan Xu ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af1c90216-c2ff-4df7-8e20-9d0e140d7f64 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 ) / New Feature ( https://hibernate.atlassian.net/browse/HHH-13877?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 ) HHH-13877 ( https://hibernate.atlassian.net/browse/HHH-13877?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 ) Make '@SortNatural' as default for SortedSet and SortedMap ( https://hibernate.atlassian.net/browse/HHH-13877?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 )

Issue Type: New Feature Affects Versions: 6.0.0.Alpha5 Assignee: Nathan Xu ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af1c90216-c2ff-4df7-8e20-9d0e140d7f64 ) Components: hibernate-core Created: 23/Feb/2020 08:43 AM Priority: Major Reporter: Nathan Xu ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af1c90216-c2ff-4df7-8e20-9d0e140d7f64 )

This is a Hibernate specific feature to be introduced in v6. Basically when a `SortedMap` or `SortedSet` is not annotated with `@SortNatural` or `@SortComparator`, exception will be thrown, even though the data type has implemented `Comparable' interface.

This ticket is to make `@SortNatural` as default so no exception will be thrown.

( https://hibernate.atlassian.net/browse/HHH-13877#add-comment?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13877#add-comment?atlOrigin=eyJpIjoiOGU0MTljZDYyZGRkNDUxZjkzMjFiMDgzODlkYTA3N2MiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:96a3924 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200223/56a89550/attachment.html 


More information about the hibernate-issues mailing list