Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 25717 invoked from network); 14 Apr 2008 18:50:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 18:50:09 -0000 Received: (qmail 10836 invoked by uid 500); 14 Apr 2008 18:50:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 10805 invoked by uid 500); 14 Apr 2008 18:50: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 10795 invoked by uid 99); 14 Apr 2008 18:50:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 11:50: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, 14 Apr 2008 18:49:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 314B7234C0E1 for ; Mon, 14 Apr 2008 11:47:05 -0700 (PDT) Message-ID: <494393396.1208198825200.JavaMail.jira@brutus> Date: Mon, 14 Apr 2008 11:47:05 -0700 (PDT) From: "Kathey Marsden (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=12588706#action_12588706 ] Kathey Marsden commented on DERBY-3574: --------------------------------------- I committed revision 647931 for this issue. Thank you Tiago for the patch. Could you submit a followup patch with the tests for length() after connection.close? Kathey > 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: derby3574-wtest.patch, derby3574.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.