[
https://issues.apache.org/jira/browse/DERBY-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-2444:
-------------------------------
Attachment: ClobBlobNotImplemented_v3.stat
ClobBlobNotImplemented_v3.diff
* I have checked for the cases pointed out as part of the
comments to this issue.
* I removed the previous two methods checkPosition
and checkLength from Lob class and added one
method checkPosAndLength that checks for the
position and length input parameters.
* To throw an exception in the case when pos+length>length
of LOB I created a new SQLState.
* I have to add the tests for the cases when the exception are
thrown. I will do this in a subsequent submission.
Pls consider this patch for reviews and comments.
> Implement not implemented methods Blob.getBinaryStream(long pos, long length)
> and Clob. getCharacterStream(long pos, long length) in the Network Client
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2444
> URL: https://issues.apache.org/jira/browse/DERBY-2444
> Project: Derby
> Issue Type: Improvement
> Components: Network Client
> Reporter: V.Narayanan
> Assigned To: V.Narayanan
> Attachments: ClobBlobNotImplemented_v1.diff,
> ClobBlobNotImplemented_v1.stat, ClobBlobNotImplemented_v2.diff,
> ClobBlobNotImplemented_v2.stat, ClobBlobNotImplemented_v3.diff,
> ClobBlobNotImplemented_v3.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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.