Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21844 invoked from network); 6 Jun 2007 19:07:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2007 19:07:49 -0000 Received: (qmail 46194 invoked by uid 500); 6 Jun 2007 19:07:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46166 invoked by uid 500); 6 Jun 2007 19:07:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 46154 invoked by uid 99); 6 Jun 2007 19:07:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 12:07:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 12:07:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A80A71419D for ; Wed, 6 Jun 2007 12:07:26 -0700 (PDT) Message-ID: <18696141.1181156846297.JavaMail.jira@brutus> Date: Wed, 6 Jun 2007 12:07:26 -0700 (PDT) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2377) Document language based ordering which will be implemented by code related sub-tasks of DERBY-1478. In-Reply-To: <12099102.1172592065504.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali updated DERBY-2377: ---------------------------------- Here is some updated text which I think would better fit at the top of the document. I don't think we should try to describe the mechanics of the algorithm, just that we use the java support for this. We are not providing support in this release for people to change these rules, we use the rules and the logic based on these rules that the JVM provides: Character-based collation in Derby A character set is a set of symbols and encodings. Derby supports a wide range of character sets and encodes all of them using the Unicode support provided by the java.lang.Character class in the JVM in which it runs. See JVM specific documentation for this class for exact level of Unicode Standard supported. A collation is a set of rules for comparing characters in a character set. In Derby collation rules affect comparisons of the CHAR and VARCHAR data type. Collation rules also affect how the LIKE Boolean operator processes CHAR, VARCHAR, CLOB, and LONG VARCHAR data. The default Derby collation rule is based on the binary Unicode values of the characters. So a character is <, =, or > based on the numeric comparison of the Unicode value. This rule allows for very efficient comparison of strings. Derby also supports the ability to define collation rules based on those appropriate to a territory, and is referred to as "territory based collation". One can specifically set the territory of a database when it is created, or it will default to the default territory of the JVM in which the database is created. Non default collation support is provided through the JVM's java.text.RuleBasedCollator class and the JVM's set of rules associated with the specified territory. Details of how these rules are used to provide territory specific collation can be seen by referring to the JVM specification. Derby currently only supports running those rules that can be loaded dynamically from the running JVM based on the territory attribute, user overrides to these rules are not supported. Territory based collation will add extra procession overhead to all character based comparison operations versus the default collation performance. > Document language based ordering which will be implemented by code related sub-tasks of DERBY-1478. > --------------------------------------------------------------------------------------------------- > > Key: DERBY-2377 > URL: https://issues.apache.org/jira/browse/DERBY-2377 > Project: Derby > Issue Type: Sub-task > Components: Documentation > Affects Versions: 10.3.0.0 > Reporter: Mamta A. Satoor > Assignee: Laura Stewart > Attachments: cdevcollation.html, cdevcollation.html, cdevcollation.html, cdevdvlp51654.html, rrefattribcollation.html, tdevdvlpcollation.html > > > There is an effort going on to implement language based ordering. This will be implemented by various code-related subtasks of DERBY-1478. The functional spec is attached to DERBY-1478. This feature will need accompanying documentation changes and this Jira entry is to track that work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.