db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: Java exception: '-1: java.lang.ArrayIndexOutOfBoundsException' error
Date Tue, 22 Jun 2010 12:02:13 GMT
On 02.06.10 10:35, Shankar Devi wrote:
> Hi Kristian,
> Thanks for the reply.
> 1. It looks like once connection is selecting from the BLOB, and then
> another connection
> deletes (or updates) it. Does this sound plausible for your application?
> [Devi] - yes.It is possible.
>    

In that case, how do you obtain the value?
  a) InputStream is = rs.getBinaryStream(...);
  b) Blob blob = rs.getBlob(...) ; InputStream is = blob.getBinaryStream();

> 2.  Does this bug cause database corruption?
>    

No.


-- 
Kristian

> Thanks&  Regards,
> Devi
>
>
>    


Mime
View raw message