Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 82470 invoked from network); 12 Apr 2007 01:07:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2007 01:07:12 -0000 Received: (qmail 67544 invoked by uid 500); 12 Apr 2007 01:07:18 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 67526 invoked by uid 500); 12 Apr 2007 01:07:18 -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 67515 invoked by uid 99); 12 Apr 2007 01:07:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 18:07:18 -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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 18:07:12 -0700 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id E1B4159A07 for ; Thu, 12 Apr 2007 01:06:51 +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: Thu, 12 Apr 2007 01:06:51 -0000 Message-ID: <20070412010651.14643.16340@eos.apache.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 ------------------------------------------------------------------------------ their store metadata. For any conglomerate created in a 10.3 new database or a 10.3 hard upgraded database a new version would be used in Store to include information about the collation for each column's metadata stored. This means that during upgrade, store needs to change the sturcture of column level metadata to include collate information. - 2)Currently, store uses Monitor to create DVD template rows. The logic of creating DVDs using formatids should be factored out from Monitor into DataValueFactory. Talking in terms of code, RowUtil.newClassInfoTemplate should call DVF.classFromIdentifier rather than Monitor.classFromIdentifier. There might be more apis in Monitor which can be/should be moved to DVF in order to keep all data type related code in DVF. + 2)Currently, store uses Monitor to create DVD template rows. The logic of creating DVDs using formatids should be factored out from Monitor into DataValueFactory. Talking in terms of code, RowUtil.newClassInfoTemplate should call DVF.classFromIdentifier rather than Monitor.classFromIdentifier. There might be more apis in Monitor which can be/should be moved to DVF in order to keep all data type related code in DVF. More discussion on this topic can be found at http://www.nabble.com/how-should-store-get-an-object-based-on-format-id-and-collation-id--tf3562574.html#a9950394 3)This item is related to item 2. With Derby 10.3, collation type will be the additional metadata in store for each column. When store will call DVF 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 locale 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.