Uploaded image for project: 'Hibernate ORM'
  1. HHH-10774

SortedMap defined in .hbm.xml are not sortable

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      I have old .hbm.xml files with a map defined <map name="traductions" sort="natural" >. The POJO has a SortedMap. It works great with Hibernate 4.3.10.Final.

      When I migrate to Hibernate 5.1.0.Final, it doesn't work anymore. I trace the problem in PluralAttributeSourceMapImpl that doesn't implements org.hibernate.boot.model.source.spi.Sortable. The only class that implements Sortable is PluralAttributeSourceSetImpl. So I guess SortedSet are managed, but not SortedMap.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 28m
                28m