Hi,

I tried to save a blob using the ".setBinaryStream()" method but I
always got an ArrayIndexOutOfBoundsException. As I debugged into it, I
saw that it was caused by the ".setBytes(pos, bytes);" method which is
the last statement. This method is called with the "pos" parameter
which is changed some lines above. Maybe this issue could be solved by
copying the "pos" variable into a local variable before the second
while loop and using the local variable inside the while.

I solved it for me by using the ".setBytes()" method directy (instead
of using ".setBinaryStream()").

Regards,
   tbu_10


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to