[
https://issues.apache.org/jira/browse/DERBY-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-2730:
-------------------------------
Attachment: GetBinaryStreamImpl_v2.stat
GetBinaryStreamImpl_v2.diff
I have made the following changes in the follow-up
1) I have initialized maxPos to -1 in the constructor that
does not accept length as a parameter.
2) I have updated the javadoc to say the following
* Construct an <code>UpdateableBlobStream<code> using the
* <code>InputStream</code> received as parameter. The initial
* position in the stream is set to <code>pos</code> and the
* stream is restricted to a length of <code>len</code>.
Pls do mention if this is OK
I ran BlobClob4BlobTest without failures and have started a junit All run.
Sorry about the delayed test runs. I shall post the results as soon as the test
completes.
> 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
>
>
> 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.