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

Knut Anders Hatlen commented on DERBY-2604:
-------------------------------------------

Thanks Narayanan! You might also want to check whether some of the comments 
above are valid for the other ClobLocator streams/readers/writers.

I noticed that ClobLocator{Reader,Writer} check whether the object is closed, 
whereas ClobLocator{Input,Output}Stream don't. Is there any reason for this?

ClobLocatorOutputStream.writeBytes() has this line:
    String clobStr = new String(b);
Should it also have specified the encoding?

Perhaps it would be easier to make ClobLocatorInputStream a wrapper around 
ClobLocatorReader, and ClobLocatorOutputStream a wrapper around 
ClobLocatorWriter?

> 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.

Reply via email to