Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 84050 invoked from network); 8 Dec 2005 17:28:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Dec 2005 17:28:01 -0000 Received: (qmail 74484 invoked by uid 500); 8 Dec 2005 17:28:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 74455 invoked by uid 500); 8 Dec 2005 17:28:00 -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 74446 invoked by uid 99); 8 Dec 2005 17:28:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 09:28:00 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.152] (HELO e34.co.us.ibm.com) (32.97.110.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 09:27:59 -0800 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id jB8HRbAX019377 for ; Thu, 8 Dec 2005 12:27:37 -0500 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jB8HQsHE088982 for ; Thu, 8 Dec 2005 10:26:54 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id jB8HRalg008853 for ; Thu, 8 Dec 2005 10:27:36 -0700 Received: from [127.0.0.1] (svl-arbrown.svl.ibm.com [9.30.40.111]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id jB8HRZRk008795 for ; Thu, 8 Dec 2005 10:27:36 -0700 Message-ID: <43986D07.6060600@sbcglobal.net> Date: Thu, 08 Dec 2005 09:27:35 -0800 From: Army User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-499) Expose BOOLEAN datatype to end users References: <1775196183.1134028509374.JavaMail.jira@ajax.apache.org> <43986AD3.2090709@sbcglobal.net> In-Reply-To: <43986AD3.2090709@sbcglobal.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Army wrote: > I'll add my choice of XML ids as part of my XML patch, and other people > who implement other types can add the appropriate ids with their > patches, as well. That is, until DRDA is updated to define the correct values, at which point the temporary values will all have to change to match DRDA. That was implicit in my last email, but I thought I'd make it explicit here to avoid confusion. Army > Kathey Marsden (JIRA) wrote: > >> 1) >> My biggest question about the patch are the new types and the >> assignment of these temporary codes. Will these be finalized before >> 10.2? Why have some other types be added to the DRDATypes but not the >> SQL Types. I was wondering if it might pose any conflict with work >> underway for XML? > > > Good question--thanks for bringing this up, Kathey. As it turns out, > I've actually been using different ids for XML which conflict with those > specified in this patch. > > Since, as the comments in the code say, these values are temporary until > DRDA is updated to account for the new types, I don't think we need to > (nor want to) specify them all up front--it just makes for more things > we have to change down the road. I think it'd be better if we only add > the constants for DRDA type and SQL type when their respective datatypes > are implemented. > > So in this case, I think it's fine for Rick's patch to include the > following: > > > public static final int DRDA_TYPE_BOOLEAN = 0xD0; > > public static final int DRDA_TYPE_NBOOLEAN = 0xD1; > > > public static final int DB2_SQLTYPE_BOOLEAN = 1000; // > BOOLEAN > > public static final int DB2_SQLTYPE_NBOOLEAN = 1001; > > But it'd be best to leave the others off. I'll add my choice of XML ids > as part of my XML patch, and other people who implement other types can > add the appropriate ids with their patches, as well. > > Army