Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 75524 invoked from network); 21 Mar 2007 17:31:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 17:31:59 -0000 Received: (qmail 67492 invoked by uid 500); 21 Mar 2007 17:32:06 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 67459 invoked by uid 500); 21 Mar 2007 17:32:06 -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 67448 invoked by uid 99); 21 Mar 2007 17:32:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 10:32:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 10:31:58 -0700 Received: from eos.apache.osuosl.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 2487B59A05 for ; Wed, 21 Mar 2007 17:31:38 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Wed, 21 Mar 2007 17:31:38 -0000 Message-ID: <20070321173138.29999.66523@eos.apache.osuosl.org> Subject: [Db-derby Wiki] Update of "BuiltInLanguageBasedOrderingDERBY-1478" by MamtaSatoor X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by MamtaSatoor: http://wiki.apache.org/db-derby/BuiltInLanguageBasedOrderingDERBY-1478 ------------------------------------------------------------------------------ 6)For both a newly created 10.3 database and an upgraded 10.3 database, make sure that the scale for character datatypes continue to be 0 (rather than the collation type value) through the metadata. The overloading of scale in TypeDescriptor as collation for character datatypes should be transparent to the end user. We should include test for the scale of character datatype. + 7)Currently, store uses Monitor to create DVD template rows. The logic of creating DVDs using formatids should be factored out from Monitor into DataValueFactory. + + 8)This item is related to item 7. With Derby 10.3, collation type will be the additional metadata in store for each column. When store will call DataValueFactory to create DVD template row, it will pass the formatids and the collation types. DVF will need to be able to assoicate the correct Collator with the DVD for Char datatypes depending on the collation type. And in order to find the correct Collator, DVF needs to know the locale of the database. This loclae information will be set on DVF using a new method on DVF called void setLocale(Locale). This call will be made by BasicDatabase after DVF has finished booting and before store starts booting. + 7)Override all the collation related methods in the CollatorSQLChar. CollatorSQLChar is a subclass of SQLChar. 8)Add subclasses for SQLVarchar, SQLLongvarchar, SQLClob. These subclasses will override the collation related methods in their superclasses.