[ http://issues.apache.org/jira/browse/DERBY-778?page=comments#action_12360942 ]
Daniel John Debrunner commented on DERBY-778: --------------------------------------------- Restricting obtaining ia stream obtained by getXXXStream() to one use per row is ok per the JDBC spec. Reading the stream multiple times from a LOB object is not covered by that same wording in the JDBC spec. I'm not sure this is a good idea, java.sql.Blob and Clob I think are designed to be re-used, as they are defined to live until the end of the transaction. > 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
