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

Conversion from String to Locale.ROOT is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.8, 5.1.7
    • Component/s: hibernate-core
    • Labels:
      None

      Description

      The improvement HHH-8491 Closed has introduced a regression in LocaleTypeDescriptor.

      The Locale.ROOT is stored as an empty String in the database (see LocaleTypeDescriptor#toString) but the current behavior of the LocaleTypeDescriptor#fromString is to return a null Locale if the input String is empty.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: