Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: problems in using setAsciiStream() while inserting objects of large sizes
Amit Soni <amit.soni_at_oracle.com> wrote in message news:<OcKnb.49$sF1.332_at_news.oracle.com>...
> Hi people,
> I am using setAsciiStream() to insert data af size about 22MB. But there
> are two problems in that:
> 1) A parameter of setAsciiStream() is of type int and it takes the
> length of the stream available. So 22MB size cannot be specified using int
> 2) If I use preparedStatement's setAsciiStream() to put data in chunks
> (in a while loop with the chunk size of 2K), only the data of the last
> setAsciiStream() is pushed in the db.
>
> Thanks in advance,
> Amit.
ps - what version of oracle server, jdbc driver, jdk? Received on Wed Oct 29 2003 - 12:05:30 CST
![]() |
![]() |