[
https://issues.apache.org/jira/browse/DERBY-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-2730:
-------------------------------
Attachment: GetCharacterStreamImpl_v2.stat
GetCharacterStreamImpl_v2.diff
Thank you for the review on the patch.
I found a clue on how to handle this from already exisiting
usage of the other Updatable stream constructors.
I removed the try catch in the updatable streams and
moved them into the corresponding Lob classes where
they were being used. Here I called the Util.setStreamFailure
passing the IOException as parameter.
I ran the jdbc4/BlobTest, jdbc4/ClobTest and jdbcapi/BlobClob4BlobTest
and saw no failures.
I have started a junit All run and shall revert back with results.
> Implement not implemented Embedded methods Blob.getBinaryStream(long pos,
> long length) and Clob. getCharacterStream(long pos, long length)
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2730
> URL: https://issues.apache.org/jira/browse/DERBY-2730
> Project: Derby
> Issue Type: New Feature
> Components: JDBC
> Affects Versions: 10.3.0.0
> Reporter: V.Narayanan
> Assignee: V.Narayanan
> Fix For: 10.3.0.0
>
> Attachments: GetBinaryStreamImpl_v1.diff,
> GetBinaryStreamImpl_v1.stat, GetBinaryStreamImpl_v1_NOT_FOR_COMMIT.diff,
> GetBinaryStreamImpl_v1_NOT_FOR_COMMIT.stat, GetBinaryStreamImpl_v2.diff,
> GetBinaryStreamImpl_v2.stat, GetCharacterStreamImpl_v1.diff,
> GetCharacterStreamImpl_v1.stat, GetCharacterStreamImpl_v2.diff,
> GetCharacterStreamImpl_v2.stat
>
>
> The following methods were introduced in the java.sql.Clob and java.sql.Blob
> interface as part of JDBC 4.0 and need to be implemented.
> Clob
> ------
> getCharacterStream(long pos, long length)
> Blob
> ------
> getBinaryStream(long pos, long length)
> The implementation on the Network Client is already done as part of Derby-2444
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.