Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 59549 invoked from network); 26 May 2006 20:58:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2006 20:58:17 -0000 Received: (qmail 92628 invoked by uid 500); 26 May 2006 20:58:16 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 92596 invoked by uid 500); 26 May 2006 20:58: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 92587 invoked by uid 99); 26 May 2006 20:58:15 -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 13:58:15 -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 13:58:14 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B162E7142E9 for ; Fri, 26 May 2006 20:57:30 +0000 (GMT) Message-ID: <26382515.1148677050723.JavaMail.jira@brutus> Date: Fri, 26 May 2006 20:57:30 +0000 (GMT+00:00) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (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 ] Kathey Marsden resolved DERBY-1354: ----------------------------------- Fix Version: 10.1.2.5 Resolution: Fixed Derby Info: (was: [Patch Available]) Submitted to 10.1 Date: Fri May 26 13:53:59 2006 New Revision: 409746 URL: http://svn.apache.org/viewvc?rev=409746&view=rev > 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, 10.1.2.5 > 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