[ http://issues.apache.org/jira/browse/DERBY-778?page=comments#action_12361049 ]
Tomohito Nakayama commented on DERBY-778: ----------------------------------------- I confirm javadoc of Java API and found next sentence . A Blob object is valid for the duration of the transaction in which is was created. http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Blob.html Futhermore, I found method java.sql.Blob#getBytes(long pos, int length) , which suggest api intend to make it able to get bytes from Blob object at randum . I understand that Daniel's comment is right. > It should be restricted only once to retrieve stream, not only from > resultset, but also from blob. > -------------------------------------------------------------------------------------------------- > > Key: DERBY-778 > URL: http://issues.apache.org/jira/browse/DERBY-778 > Project: Derby > Type: Bug > Components: JDBC, Network Client > Reporter: Tomohito Nakayama > Assignee: Tomohito Nakayama > Attachments: testLob3.java > > Restriction to retrieve stream from a result set only once was made by > DERBY-721. > However there remains *means of escape* to retrieve stream twice using Lob. > This means of escape should be restricted in order to avoid caching stream in > Network Client Driver . -- 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
