Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 39286 invoked from network); 23 Dec 2005 06:05:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Dec 2005 06:05:56 -0000 Received: (qmail 69581 invoked by uid 500); 23 Dec 2005 06:05:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 69559 invoked by uid 500); 23 Dec 2005 06:05:55 -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 69549 invoked by uid 99); 23 Dec 2005 06:05:55 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2005 22:05:53 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DEA19CB for ; Fri, 23 Dec 2005 07:05:32 +0100 (CET) Message-ID: <74115357.1135317932910.JavaMail.jira@ajax.apache.org> Date: Fri, 23 Dec 2005 07:05:32 +0100 (CET) From: "Tomohito Nakayama (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-782) Improvement on org.apache.derby.impl.jdbc.EmbedBlob#length() In-Reply-To: <39071990.1135315471206.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 [ http://issues.apache.org/jira/browse/DERBY-782?page=all ] Tomohito Nakayama updated DERBY-782: ------------------------------------ Comment: was deleted > Improvement on org.apache.derby.impl.jdbc.EmbedBlob#length() > ------------------------------------------------------------ > > Key: DERBY-782 > URL: http://issues.apache.org/jira/browse/DERBY-782 > Project: Derby > Type: Bug > Components: JDBC > Reporter: Tomohito Nakayama > Attachments: testLob4.java > > Now, org.apache.derby.impl.jdbc.EmbedBlob#length() method read out whole BinaryToRawStream to know exact length. > On the other hand, BinaryToRawStream have some commented-out inplementation of having information for length. > I think the information of lengh in BinaryToRawStream should be restored to be used in .org.apache.derby.impl.jdbc.EmbedBlob#length(), because read out whole stream can be expensive processing when streamed information was large. > There exists a subject that reliability of lengh information in BinaryToRawStream is unknown. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira