db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2604) Implement Clob support for locators
Date Wed, 09 May 2007 12:06:16 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494485

Knut Anders Hatlen commented on DERBY-2604:

Thanks for answering, Narayanan!

I believe Øystein is correct about the conversion to ASCII.

> But the behaviour that needs to be exhibited for InputStream/OutputStream
> methods after close was not mentioned. 

I found this the javadoc for OutputStream.write(int):
IOException - if an I/O error occurs. In particular, an IOException may be thrown if the output
stream has been closed.

>>5) ClobLocatorOutputStream.writeBytes() has this line:
>>    String clobStr = new String(b);
>>   Should it also have specified the encoding?
> Yes you are correct. It should have been US-ASCII, I will fix this.

Since JDBC defines ASCII as the code points from 0 up to 255, I think it should be ISO-8859-1.
US-ASCII is only 7 bits, I think.

> Implement Clob support for locators
> -----------------------------------
>                 Key: DERBY-2604
>                 URL: https://issues.apache.org/jira/browse/DERBY-2604
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Network Server
>            Reporter: V.Narayanan
>         Assigned To: V.Narayanan
>         Attachments: ClobLocatorWork_v1.diff, ClobLocatorWork_v1.stat

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message