Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 16752 invoked from network); 14 May 2007 17:34:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2007 17:34:42 -0000 Received: (qmail 65875 invoked by uid 500); 14 May 2007 17:34:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 65819 invoked by uid 500); 14 May 2007 17:34:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 65729 invoked by uid 99); 14 May 2007 17:34:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 10:34:45 -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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2007 10:34:37 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A4CA6714079 for ; Mon, 14 May 2007 10:34:17 -0700 (PDT) Message-ID: <6150524.1179164057672.JavaMail.jira@brutus> Date: Mon, 14 May 2007 10:34:17 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-2534) Add new api "public StringDataValue getValue(RuleBasedCollator)" on StringDataValue. This method will return either the base DVDs for char datatypes or it will return collation sensitive DVD for char datatypes. In-Reply-To: <29480700.1176103533715.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mamta A. Satoor closed DERBY-2534. ---------------------------------- > Add new api "public StringDataValue getValue(RuleBasedCollator)" on StringDataValue. This method will return either the base DVDs for char datatypes or it will return collation sensitive DVD for char datatypes. > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-2534 > URL: https://issues.apache.org/jira/browse/DERBY-2534 > Project: Derby > Issue Type: New Feature > Components: SQL > Affects Versions: 10.3.0.0 > Reporter: Mamta A. Satoor > Assigned To: Mamta A. Satoor > Attachments: DERBY2534_getValue_On_StringDataValue_v1_diff.txt, DERBY2534_getValue_On_StringDataValue_v1_stat.txt > > > In Derby 10.3, the collation of char datatypes can be different depending on what kind of collation is requested by the user at the database create time through the optional JDBC url attribute COLLATION. The collation type associated with the DTD will determine which kind of DVD needs to be generated. (Note that, irrespective of what collation is used, the format id of the char datatypes remain same.) In order to support this behavior of generating the base DVD or the collation sensitive DVD for character datatypes, we need to add a new api to StringDataValue which will look as follows > /** > * Gets either SQLChar/SQLVarchar/SQLLongvarchar/SQLClob(base classes) or > * CollatorSQLChar/CollatorSQLVarchar/CollatorSQLLongvarch/CollatorSQLClob > * (subclasses). Whether this method returns the base class or the subclass > * depends on the value of the RuleBasedCollator. If RuleBasedCollator is > * null, then the object returned would be baseclass otherwise it would be > * subcalss. > */ > public StringDataValue getValue(RuleBasedCollator collatorForComparison); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.