cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2206) Allow Ordering to sort international Strings correctly in memory (using collations)
Date Fri, 18 Aug 2017 09:16:00 GMT

    [ https://issues.apache.org/jira/browse/CAY-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131952#comment-16131952
] 

Nikita Timofeev commented on CAY-2206:
--------------------------------------

https://github.com/godurkodi/cayenne/commit/61738f56dad753da07040b0f44de7bf3f297c680

> 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.4.14#64029)

Mime
View raw message