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 Wed, 11 Apr 2007 03:14:32 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.v1.diff

about patch (derby-2346.v1.diff)
addressed most of the issues raised by Kristian

Added a  new class org.apache.derby.impl/jdbc.ClobUpdateableReader.
This class will reinitialized itself if the clob is modified after issuing Reader to the user
application.This was required because UTF8Reader reads the data ahead from the stream and
caches it.

Added a new method in ClobStreamControl to encode string to utf8. I found that getBytes ()
is not a reliable method hence this method.

Added a test case for updateable reader.

Enabled jdbcapi/LOBStreamsTest on embedded driver too.
Modifed stream comparisons routine of LOBStreamsTest to avoid failure if the number of bytes
returned is less than the requested number 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: 10.3.0.0
>            Reporter: Anurag Shekhar
>         Assigned To: Anurag Shekhar
>         Attachments: derby-2346-only_for_review.diff, derby-2346.v1.diff
>
>


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


Mime
View raw message