Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 83870 invoked from network); 12 Apr 2008 16:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2008 16:04:05 -0000 Received: (qmail 25590 invoked by uid 500); 12 Apr 2008 16:04:03 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 25560 invoked by uid 500); 12 Apr 2008 16:04:03 -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 25551 invoked by uid 99); 12 Apr 2008 16:04:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2008 09:04:03 -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; Sat, 12 Apr 2008 16:03:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7ADEE234C0C1 for ; Sat, 12 Apr 2008 09:01:06 -0700 (PDT) Message-ID: <1463953084.1208016066502.JavaMail.jira@brutus> Date: Sat, 12 Apr 2008 09:01:06 -0700 (PDT) From: "Bryan Pendleton (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=12588266#action_12588266 ] Bryan Pendleton commented on DERBY-3574: ---------------------------------------- http://wiki.apache.org/db-derby/DerbyTopLevelJunitTests has information on how to run the various Junit tests. Note that you can either run them via "ant" commands, or directly by invoking Junit. > 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.