Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 53603 invoked from network); 7 Apr 2008 14:26:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Apr 2008 14:26:07 -0000 Received: (qmail 71219 invoked by uid 500); 7 Apr 2008 14:26:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 71188 invoked by uid 500); 7 Apr 2008 14:26:07 -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 71177 invoked by uid 99); 7 Apr 2008 14:26:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 07:26:07 -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 14:25:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 222FA234C0BF for ; Mon, 7 Apr 2008 07:23:26 -0700 (PDT) Message-ID: <344657200.1207578206138.JavaMail.jira@brutus> Date: Mon, 7 Apr 2008 07:23:26 -0700 (PDT) From: "Tiago R. Espinha (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=12586407#action_12586407 ] Tiago R. Espinha commented on DERBY-3574: ----------------------------------------- Ok, perfect! I will look into this today still. > 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.