You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Hugi Thordarson (JIRA)" <ji...@apache.org> on 2017/01/20 12:51:26 UTC

[jira] [Created] (CAY-2206) Allow Ordering to sort international Strings correctly in memory (using collations)

Hugi Thordarson created CAY-2206:
------------------------------------

             Summary: Allow Ordering to sort international Strings correctly in memory (using collations)
                 Key: CAY-2206
                 URL: https://issues.apache.org/jira/browse/CAY-2206
             Project: Cayenne
          Issue Type: Improvement
          Components: Core Library
    Affects Versions: 4.0.M5
            Reporter: Hugi Thordarson


Ordering currently uses String.compareTo to compare Strings when doing in-memory sorting. This results in a (usually) wrong ordering when sorting outside of ASCII, i.e. international Strings. Ordering should allow us to specify a Locale or Collator for ordering strings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)