[ 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

Reply via email to