Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-554

ORDER By clause doesn't work with national strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.1.1.0
    • None
    • JDBC
    • None
    • Win XP, JDK 1.5

    Description

      ORDER By clause doesn't work with national strings. When sort column with strings with national chracters (Czech = cs_CZ locale) , it doesn't sort properly (special characters is on the end of the alphabet but should not be).

      How to resolve the problem:
      For national ordering just use java.text.Collator to compare strings.

      Sysinfo:
      ------------------ Java Information ------------------
      Java Version: 1.5.0_04
      Java Vendor: Sun Microsystems Inc.
      Java home: C:\Program Files\Java\jre1.5.0_04
      Java classpath: derby.jar;derbytools.jar
      OS name: Windows XP
      OS architecture: x86
      OS version: 5.1
      Java user dir: c:\develop\jars\db-derby-10.1.1.0-bin\lib
      java.specification.name: Java Platform API Specification
      java.specification.version: 1.5
      --------- Derby Information --------
      JRE - JDBC: J2SE 5.0 - JDBC 3.0
      [C:\develop\jars\db-derby-10.1.1.0-bin\lib\derby.jar] 10.1.1.0 - (208786)
      [C:\develop\jars\db-derby-10.1.1.0-bin\lib\derbytools.jar] 10.1.1.0 - (208786)
      ------------------------------------------------------
      ----------------- Locale Information -----------------
      ------------------------------------------------------

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              krzyzanek Libor Krzyzanek
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: