Return-Path:
X-Original-To: apmail-db-derby-commits-archive@www.apache.org
Delivered-To: apmail-db-derby-commits-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id D0BB910FE7
for ;
Thu, 29 Aug 2013 17:52:32 +0000 (UTC)
Received: (qmail 32735 invoked by uid 500); 29 Aug 2013 17:52:32 -0000
Delivered-To: apmail-db-derby-commits-archive@db.apache.org
Received: (qmail 32674 invoked by uid 500); 29 Aug 2013 17:52:31 -0000
Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm
Precedence: bulk
list-help:
list-unsubscribe:
List-Post:
Reply-To: "Derby Development"
List-Id:
Delivered-To: mailing list derby-commits@db.apache.org
Received: (qmail 32667 invoked by uid 99); 29 Aug 2013 17:52:30 -0000
Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 17:52:30 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 17:52:27 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id 90D9F23888E7;
Thu, 29 Aug 2013 17:52:05 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1518727 - in /db/derby/docs/branches/10.10/src:
devguide/cdevcollationattribs.dita devguide/cdevcollationexamples.dita
devguide/derbydev.ditamap ref/rrefattrib56769.dita ref/rrefsqlj20937.dita
ref/rrefsqlj58560.dita
Date: Thu, 29 Aug 2013 17:52:05 -0000
To: derby-commits@db.apache.org
From: chaase3@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20130829175205.90D9F23888E7@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: chaase3
Date: Thu Aug 29 17:52:04 2013
New Revision: 1518727
URL: http://svn.apache.org/r1518727
Log:
DERBY-4629 Explicitly document how to get case-insensitive sorts and comparisons of string data
Merged patch DERBY-4629.diff to 10.10 doc branch from trunk revision 1517897.
Added:
db/derby/docs/branches/10.10/src/devguide/cdevcollationexamples.dita
- copied unchanged from r1517897, db/derby/docs/trunk/src/devguide/cdevcollationexamples.dita
Modified:
db/derby/docs/branches/10.10/src/devguide/cdevcollationattribs.dita
db/derby/docs/branches/10.10/src/devguide/derbydev.ditamap
db/derby/docs/branches/10.10/src/ref/rrefattrib56769.dita
db/derby/docs/branches/10.10/src/ref/rrefsqlj20937.dita
db/derby/docs/branches/10.10/src/ref/rrefsqlj58560.dita
Modified: db/derby/docs/branches/10.10/src/devguide/cdevcollationattribs.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.10/src/devguide/cdevcollationattribs.dita?rev=1518727&r1=1518726&r2=1518727&view=diff
==============================================================================
--- db/derby/docs/branches/10.10/src/devguide/cdevcollationattribs.dita (original)
+++ db/derby/docs/branches/10.10/src/devguide/cdevcollationattribs.dita Thu Aug 29 17:52:04 2013
@@ -73,65 +73,7 @@ that only differences in base letters ar
-
-Collation examplesWith Unicode codepoint collation
-(UCS_BASIC), the numeric values of the Unicode encoding of the characters
-are used directly for ordering. For example, the FRUIT table contains the NAME
-column that uses the VARCHAR(20) data type. The contents of the NAME column
-are:
-orange
-apple
-Banana
-Pineapple
-Grape
-
UCS_BASIC collation sorts all uppercase letters before lowercase
-letters. The statement SELECT * FROM FRUIT ORDER BY NAME
-returns the following:
-Banana
-Grape
-Pineapple
-apple
-orange
-
-The above result also appears if you specify territory=ll_CC but do
-not specify collation=collation.
-If the database is created with the territory=ll_CC attribute
-set to en_US (English language, United States country code) and the
-collation=collation attribute set to TERRITORY_BASED, the statement
-SELECT * FROM FRUIT ORDER BY NAME returns:
-apple
-Banana
-Grape
-orange
-Pineapple
-
-The collation set for the database also impacts comparison operators
-on character data types. For example, the statement SELECT * FROM
-FRUIT WHERE NAME > 'Banana' ORDER BY NAME returns:
-
-
-UCS_BASIC collation
-Locale-based collation
-
-
-Grape
-Grape
-
-
-Pineapple
-orange
-
-
-apple
-Pineapple
-
-
-orange
-
-
-
-For information on creating case-insensitive databases, see
-.
+
Modified: db/derby/docs/branches/10.10/src/devguide/derbydev.ditamap
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.10/src/devguide/derbydev.ditamap?rev=1518727&r1=1518726&r2=1518727&view=diff
==============================================================================
--- db/derby/docs/branches/10.10/src/devguide/derbydev.ditamap (original)
+++ db/derby/docs/branches/10.10/src/devguide/derbydev.ditamap Thu Aug 29 17:52:04 2013
@@ -48,6 +48,7 @@ limitations under the License.
+
@@ -60,6 +61,7 @@ limitations under the License.
+
@@ -71,6 +73,18 @@ limitations under the License.
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2063,6 +2077,8 @@ with updatable result sets">
+
+
Modified: db/derby/docs/branches/10.10/src/ref/rrefattrib56769.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.10/src/ref/rrefattrib56769.dita?rev=1518727&r1=1518726&r2=1518727&view=diff
==============================================================================
--- db/derby/docs/branches/10.10/src/ref/rrefattrib56769.dita (original)
+++ db/derby/docs/branches/10.10/src/ref/rrefattrib56769.dita Thu Aug 29 17:52:04 2013
@@ -123,7 +123,11 @@ and Mexican nationality.
collation=collation attribute with
the territory=ll_CC attribute to specify that collation is based
-on the locale, instead of being based on Unicode codepoint collation
+on the locale, instead of being based on Unicode codepoint collation. For more
+information, see "Creating a database with locale-based collation",
+"Creating a case-insensitive database", and "Character-based collation in
+" in the
+.
Modified: db/derby/docs/branches/10.10/src/ref/rrefsqlj20937.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.10/src/ref/rrefsqlj20937.dita?rev=1518727&r1=1518726&r2=1518727&view=diff
==============================================================================
--- db/derby/docs/branches/10.10/src/ref/rrefsqlj20937.dita (original)
+++ db/derby/docs/branches/10.10/src/ref/rrefsqlj20937.dita Thu Aug 29 17:52:04 2013
@@ -56,7 +56,18 @@ the column name causes collation=collation attribute
+and
+territory=ll_CC attribute,
+as well as the sections "Creating a database with locale-based collation",
+"Creating a case-insensitive database", and "Character-based collation in
+" in the
+.
+If a qualified index
name is specified, the schema name cannot begin with SYS.
Indexes and constraintsUnique, primary
key, and foreign key constraints generate indexes that enforce or "back" the
Modified: db/derby/docs/branches/10.10/src/ref/rrefsqlj58560.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.10/src/ref/rrefsqlj58560.dita?rev=1518727&r1=1518726&r2=1518727&view=diff
==============================================================================
--- db/derby/docs/branches/10.10/src/ref/rrefsqlj58560.dita (original)
+++ db/derby/docs/branches/10.10/src/ref/rrefsqlj58560.dita Thu Aug 29 17:52:04 2013
@@ -22,11 +22,23 @@ limitations under the License.
Data type assignments and comparison, sorting, and ordering
-data typesassignments and comparisions
+data typesassignments and comparisons
-The following table displays valid assignments between data types in
+The tables in this section show valid assignments and comparisons
+between data types.
+Sorting and ordering of character data is controlled by the collation
+specified for a database when it is created, as well as the locale of the
+database. For details, see
+collation=collation attribute
+and
+territory=ll_CC attribute,
+as well as the sections "Creating a database with locale-based collation",
+"Creating a case-insensitive database", and "Character-based collation in
+" in the
+.
+The following table displays valid assignments between data types in
. A "Y" indicates that
the assignment is valid.