Hello.

Kathey Marsden (JIRA) wrote:

I couldn't think of how to get  an error on getCharacterStream/getBinaryStream 
but I wonder, could the  work done in openInputStreamLazily()  just be part of  
readInputStreamInitially so that these calls could just throw an SQLException 
if encountered?


It seems to be possible not to openInputStreamLazily and open all what is needed at the phase of readInputStreamInitially.

I thought that I can't keep the InputStream to be opened between phase of constructing EXTDTAInputStream and phase of streaming. Then, I made openInputStreamLazily method so that there are no need to keep InputStream to be opened.

However, my previous thought seems to be not correct.
It may be possible to keep the InputStream to be opened.
I tried and found some test program in jdbcapi was passed.

Now, I'm running derbyall suite.

Best regards.

--
/*

       Tomohito Nakayama
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]

       Naka
       http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/

Reply via email to