Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 33185 invoked from network); 7 Apr 2008 13:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Apr 2008 13:40:08 -0000 Received: (qmail 91654 invoked by uid 500); 7 Apr 2008 13:40:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 91427 invoked by uid 500); 7 Apr 2008 13:40:08 -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 91418 invoked by uid 99); 7 Apr 2008 13:40:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 06:40:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 13:39:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8458F234C0BF for ; Mon, 7 Apr 2008 06:37:24 -0700 (PDT) Message-ID: <54545813.1207575444540.JavaMail.jira@brutus> Date: Mon, 7 Apr 2008 06:37:24 -0700 (PDT) From: "V.Narayanan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3574) With client, attempting to get the lob length after commit or connection close if there was a call to length() before commit does not throw an exception In-Reply-To: <378233357.1206640764764.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-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586388#action_12586388 ] V.Narayanan commented on DERBY-3574: ------------------------------------ I have suggested a possible workaround for the related issue Derby-3469. I think the solution suggested there if found OK will work for this issue also. > With client, attempting to get the lob length after commit or connection close if there was a call to length() before commit does not throw an exception > ---------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3574 > URL: https://issues.apache.org/jira/browse/DERBY-3574 > Project: Derby > Issue Type: Bug > Components: JDBC, Network Client, Newcomer > Affects Versions: 10.5.0.0 > Reporter: Kathey Marsden > Assignee: Tiago R. Espinha > Priority: Trivial > Attachments: derby-3574.patch, TestLobLength.java > > > Attempting to get call Blob/Clob.length() after commit or connection close does not fail if there was a previous call to length(). If no previous call was made an exception is thrown as expected. > See attached program TestLobLength for repro with commit. If you comment out the two lines to get the length before the commit we get the expected exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.