Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 33111 invoked from network); 17 Jan 2006 15:52:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 15:52:25 -0000 Received: (qmail 10466 invoked by uid 500); 17 Jan 2006 15:52:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 10417 invoked by uid 500); 17 Jan 2006 15:52:24 -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 10407 invoked by uid 99); 17 Jan 2006 15:52:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 07:52:24 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ksunithaghm@gmail.com designates 64.233.162.206 as permitted sender) Received: from [64.233.162.206] (HELO zproxy.gmail.com) (64.233.162.206) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 07:52:23 -0800 Received: by zproxy.gmail.com with SMTP id 16so1433494nzp for ; Tue, 17 Jan 2006 07:52:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Xyf78wY3YksUnXnJMA7FshPUs8E5e5YuQ9f1I9b7bcWBu6d4N9JLH404YL7YRWCgfha76a0RpZWa4/R6nEBI0dCVffQDjVkTlWdK/3zX/SnscF5nIXIDVxQoIzRNsbclKVARni6kg73rmZl3H0EzlcS/XYNB92dQ1u1gmNY+q/w= Received: by 10.65.252.7 with SMTP id e7mr3991215qbs; Tue, 17 Jan 2006 07:52:02 -0800 (PST) Received: from ?71.131.6.16? ( [71.131.6.16]) by mx.gmail.com with ESMTP id q15sm2966009qbq.2006.01.17.07.52.01; Tue, 17 Jan 2006 07:52:02 -0800 (PST) Message-ID: <43CD128F.8030005@gmail.com> Date: Tue, 17 Jan 2006 07:51:43 -0800 From: Sunitha Kambhampati User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-796) jdbc 4.0 specific Blob and Clob method support References: <836914802.1137433760233.JavaMail.jira@ajax.apache.org> <43CCC908.1000208@Sun.COM> In-Reply-To: <43CCC908.1000208@Sun.COM> Content-Type: text/plain; charset=ISO-8859-1; 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 V Narayanan - Sun Microsystems - Bangalore India wrote: >Hi, > >Will the setBinaryStreamInternal method be raising an exception if the >length variable doesn't fit inside an integer. Or is >SetBinaryStreamInternal and the related classes being >modified to work with the length variable as a long type. > > > An exception will be thrown in the setBinaryStreamInternal if the length variable doesnt fit inside an integer. Currently there are lots of places in the language layer that expects the max size to be an int. e.g DataTypeDescriptor.getMaximumWidth() api returns an int. I _do not plan _to change the int to long here, as it is outside the scope of DERBY-599 that I am currently working on. Sunitha. >Sunitha Kambhampati (JIRA) wrote: > > >> [ http://issues.apache.org/jira/browse/DERBY-796?page=comments#action_12362867 ] >> >>Sunitha Kambhampati commented on DERBY-796: >>------------------------------------------- >> >>I actually have a patch to fix Derby-599, where I am changing the setBlob(int,Blob) to pass the length as is done in setClob to avoid materialization. I have some testing to do before I post the patch to the list (hopefully will get it out in a day or two). I can take care of changing the setBinaryStreamInternal to take a long for the length as part of the Derby 599 patch as it is related. >> >> >>