Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 10797 invoked from network); 26 May 2006 18:34:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 18:34:15 -0000 Received: (qmail 91850 invoked by uid 500); 26 May 2006 18:34:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 91637 invoked by uid 500); 26 May 2006 18:34:15 -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 91628 invoked by uid 99); 26 May 2006 18:34:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 11:34:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 May 2006 11:34:14 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8F547142EC for ; Fri, 26 May 2006 18:33:30 +0000 (GMT) Message-ID: <12446312.1148668410689.JavaMail.jira@brutus> Date: Fri, 26 May 2006 18:33:30 +0000 (GMT+00:00) From: "Anders Morken (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1354) Writer.write(int c) to writer from Clob.setCharacterStream(long pos) appends integer value, not character In-Reply-To: <14624485.1148659529871.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1354?page=all ] Anders Morken updated DERBY-1354: --------------------------------- Fix Version: (was: 10.2.0.0) Version: (was: 10.2.0.0) (was: 10.1.2.0) (was: 10.1.2.1) (was: 10.1.3.0) (was: 10.1.2.2) (was: 10.1.2.3) (was: 10.1.2.4) > Writer.write(int c) to writer from Clob.setCharacterStream(long pos) appends integer value, not character > --------------------------------------------------------------------------------------------------------- > > Key: DERBY-1354 > URL: http://issues.apache.org/jira/browse/DERBY-1354 > Project: Derby > Type: Bug > Components: JDBC, Network Client > Reporter: Anders Morken > Assignee: Anders Morken > Priority: Minor > Fix For: 10.1.3.0 > Attachments: DERBY-1354.patch > > DERBY-1245-collateraldamage-v1.patch fixes a little bug in o.a.d.client.am.ClobWriter.java's write(int c) method. > In it's original implementation the int parameter was passed directly to the StringBuffer.append() method, resulting > in the int being converted to it's string representation and then appended. (i.e. passing the char 'a' to write(int c) > would append the string "97" to the StringBuffer and thus the Clob. 97 is the ASCII code for the character 'a'.) > Please note that the patch is attached to DERBY-1245, as that was the Jira issue I was working on when I discovered > this. This issue is a placeholder of sorts. =) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira