Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How can I store large strings?
You have to use a prepared or a callable statement.
In either one of these you have the methods setAsciiStream, setBinaryStream, setBlob
Filip
Anastasios Kotsikonas <tasos_at_csa.bu.edu> wrote in message
news:7lih2p$pvv$1_at_news1.bu.edu...
>
> Hi all,
>
> how do I insert a long string (say 64K) into an Oracle column via JDBC?
> I am looking for the data type primarily... CLOB and LONG throw a 'string
> literal too long' after 4K....
>
> Is there ANY way to do this? And how does one insert binary data, like
> pictures, from JDBC?
>
> thanks
>
> tasos
Received on Fri Jul 02 1999 - 12:14:46 CDT
![]() |
![]() |