db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaa...@apache.org
Subject svn commit: r1517667 - /db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita
Date Mon, 26 Aug 2013 19:58:56 GMT
Author: chaase3
Date: Mon Aug 26 19:58:56 2013
New Revision: 1517667

URL: http://svn.apache.org/r1517667
Log:
DERBY-4627  Document how to install your own custom collation for use in sorting and comparing
string data values. 

Modified a Developer's Guide topic to add a missing word and fix formatting.

Patch: DERBY-4627-2.diff

Modified:
    db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita

Modified: db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita?rev=1517667&r1=1517666&r2=1517667&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita (original)
+++ db/derby/docs/trunk/src/devguide/cdevcollationattribs.dita Mon Aug 26 19:58:56 2013
@@ -59,7 +59,7 @@ databases.</entry>
 <entry colname="col1">jdbc:derby:abcDB;create=true;collation=TERRITORY_BASED</entry>
 <entry colname="col2">The locale of the JVM, since the <i>territory=ll_CC</i>
 attribute is not set. <note type="tip">To determine the locale of the JVM,
-call the <i>Locale.getDefault</i>.</note></entry>
+call the <i>Locale.getDefault</i> method.</note></entry>
 </row>
 <row>
 <entry colname="col1">jdbc:derby:abcDB;create=true;territory=es_MX;collation=TERRITORY_BASED</entry>
@@ -107,12 +107,29 @@ set to <i>en_US</i> (English language, U
 </sl></p>
 <p>The collation set for the database also impacts comparison operators
 on character data types. For example, the statement <codeph>SELECT * FROM
-FRUIT WHERE NAME > 'Banana' ORDER BY NAME</codeph> returns: 
-<lines>      UCS_BASIC collation       Locale-based collation
-                Grape                             Grape
-                Pineapple                       orange
-                apple                              Pineapple
-                orange</lines></p>
+FRUIT WHERE NAME > 'Banana' ORDER BY NAME</codeph> returns:</p>
+<simpletable frame="none">
+<sthead>
+<stentry>UCS_BASIC collation</stentry>
+<stentry>Locale-based collation</stentry>
+</sthead>
+<strow>
+<stentry>Grape</stentry>
+<stentry>Grape</stentry>
+</strow>
+<strow>
+<stentry>Pineapple</stentry>
+<stentry>orange</stentry>
+</strow>
+<strow>
+<stentry>apple</stentry>
+<stentry>Pineapple</stentry>
+</strow>
+<strow>
+<stentry>orange</stentry>
+<stentry>&nbsp;</stentry>
+</strow>
+</simpletable>
 <p>For information on creating case-insensitive databases, see
 <xref href="tdevdvlpcaseinscoll.dita#tdevdvlpcaseinscoll"></xref>.</p>
 </section>



Mime
View raw message