Re: Blob manipulation

From: Sergey M <msu_at_pronto.msk.ru>
Date: Mon, 29 Oct 2001 17:57:43 +0300
Message-ID: <9rjqpg$1m4n$1_at_serv2.vsi.ru>


[Quoted] "Aviran Levy" <avlevy2k_at_hotmail.com> сообщил/сообщила в новостях следующее: [Quoted] news:02dD7.591$0N4.83631_at_news.shore.net...
> Thanks again for the info,
> Here is the exception I get when trying to execute the code from your
> example:
>
> java.io.IOException: ORA-22920: row containing the LOB value is not locked
>
> The exception occures on the line:
>
> outstream.write(buffer, 0, length);
>
> Thanks,
> -- Avi
>

Add into cmd this phrase: "FOR UPDATE" ;-) And don't forget to do: outstream.flush() and conn.comit()

Sergey M. Received on Mon Oct 29 2001 - 15:57:43 CET

Original text of this message