Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 91039 invoked from network); 4 Oct 2010 12:13:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 12:13:55 -0000 Received: (qmail 25534 invoked by uid 500); 4 Oct 2010 12:13:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 25327 invoked by uid 500); 4 Oct 2010 12:13:53 -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 25315 invoked by uid 99); 4 Oct 2010 12:13:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 12:13:53 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 12:13:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94CDWVp022758 for ; Mon, 4 Oct 2010 12:13:32 GMT Message-ID: <2403058.528171286194412642.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 08:13:32 -0400 (EDT) From: "Benson Margulies (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4830) ResultSet.getCharacterStream returns closed stream for clob In-Reply-To: <32638879.504751285970073679.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917570#action_12917570 ] Benson Margulies commented on DERBY-4830: ----------------------------------------- I've attached code. I did not perform a complete minimization, but I don't think you'll have you much trouble using this to debug. The test that failes is JDDDaoTest.testReadDocument. In JDDDao.java, at line 114, the working code is commented out, and the failing code is commented in. > ResultSet.getCharacterStream returns closed stream for clob > ----------------------------------------------------------- > > Key: DERBY-4830 > URL: https://issues.apache.org/jira/browse/DERBY-4830 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.6.1.0 > Reporter: Benson Margulies > Priority: Minor > Attachments: derby-4830.tar.gz > > > After selecting a clob, the following works: > {code} > rs.getClob(1).getCharacterStream() > {code} > However, simply calling > {code} > rs.getCharacterStream(1) > {code} > returns a closed StringReader. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.