db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Shekhar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2346) Provide set methods for clob for embedded driver
Date Thu, 15 Mar 2007 13:04:09 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Anurag Shekhar updated DERBY-2346:

    Attachment: derby-2346-only_for_review.diff

This patch is not for commit. Right now it generates failures in postion tests due to DERBY-2450.
I will resumbmit it after DERBY-2250 is resolved.

Description of Patch
New Files
This class extends from LOBStreamControl and provides wrapper methods to uses Strings to access

A Stream which assumes all the bytes coming in is ascii char and passes it on to Writer.


This class uses ClobStreamControl to updates the clob. User will get this object when it makes
calls to retrieve outputstream from clob.

Modified to use ClobStreamControl when the clob is materialized.
Added additional set methods.


Added a new constructor to accept length as parameter. When the length is passed to the constructor,
it doesn't tries to read the length from the stream and considers the data from the beginning
of the stream.

Added a new method to replace bytes in the middle of file/array when the   new bytes may have
a diff length from the original bytes.      

> Provide set methods for clob for embedded driver
> ------------------------------------------------
>                 Key: DERBY-2346
>                 URL: https://issues.apache.org/jira/browse/DERBY-2346
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>    Affects Versions:
>            Reporter: Anurag Shekhar
>         Assigned To: Anurag Shekhar
>         Attachments: derby-2346-only_for_review.diff

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

View raw message