db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4627) Document how to install your own custom collation for use in sorting and comparing string data values.
Date Fri, 23 Apr 2010 16:04:49 GMT
Document how to install your own custom collation for use in sorting and comparing string data
values.
------------------------------------------------------------------------------------------------------

                 Key: DERBY-4627
                 URL: https://issues.apache.org/jira/browse/DERBY-4627
             Project: Derby
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 10.6.0.0
            Reporter: Rick Hillegas


The Developer's Guide suggests that you are limited to the collations shipped with the JRE.
Consider, for instance, this sentence in the section titled "Character-based collation in
Derby":

"Derby currently supports only running those rules that can be loaded dynamically from the
running JVM based on the territory attribute. Overrides to these rules by the user are not
supported."

This is misleading. A long time ago, Knut wrote a blog explaining how to write your own custom
collation, plug it into the JRE, and then use it on string data stored in Derby: http://blogs.sun.com/kah/entry/user_defined_collation_in_apache

This is a very useful capability of Derby. We should document it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message