[ http://issues.apache.org/jira/browse/DERBY-782?page=all ]

Tomohito Nakayama updated DERBY-782:
------------------------------------

    Comment: was deleted

> Improvement on org.apache.derby.impl.jdbc.EmbedBlob#length()
> ------------------------------------------------------------
>
>          Key: DERBY-782
>          URL: http://issues.apache.org/jira/browse/DERBY-782
>      Project: Derby
>         Type: Bug
>   Components: JDBC
>     Reporter: Tomohito Nakayama
>  Attachments: testLob4.java
>
> Now, org.apache.derby.impl.jdbc.EmbedBlob#length() method read out whole  
> BinaryToRawStream to know exact length.
> On the other hand,  BinaryToRawStream have some commented-out inplementation 
> of having information for length.
> I think the information of lengh in BinaryToRawStream should be restored to 
> be used in .org.apache.derby.impl.jdbc.EmbedBlob#length(), because read out 
> whole stream can be expensive processing when streamed information was large.
> There exists a subject that reliability of lengh information in 
> BinaryToRawStream is unknown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to