| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> setBytes/getBytes on a PreparedStatement
Hi everybody,
I would like to store a byte stream (without '\0') in a varchar2. For
that,
I use setBytes on a preparedStatement object.
When I store N bytes with setBytes, I get N*2 bytes when I use
getBytes to retrieve the data.
Has someone encountered this stranger phenomenon. I dont see where is the problem. may be Oracle Jdbc driver !!! I use JDK1.3.0 and jdbc:oracle:oci8
Thanks for help. Received on Mon Dec 17 2001 - 09:09:49 CST
![]() |
![]() |