Thread: problem : InputStream as parameter not supported

problem : InputStream as parameter not supported

From
"Rafal Piotrowski (CSCS)"
Date:
Hi,

Configuration:
- PostgreSQL 6.5.1
- JDBC for JDK 1.2

I have tried to use setBinaryStream method, but I am getting the
following error: InputStream as parameter not supported

Here is how I use it: ByteArrayInputStream from = new ByteArrayInputStream(bytes); pst.setBinaryStream(6, from,
bytes.length);

Does any one know when will it be supported?

The reason, why I'm using it is so I can store big binary data without
using LargeObject API.

thanks, 

RP

-- 
..............................................................................
:           Rafal Piotrowski             :
mailto:Rafal.Piotrowski@CSCS.CH   :
:          Research Scientist            :
http://www.cscs.ch/~rpiotrow      :
: Centro Svizzero di Calcolo Scientifico : Tel.: +41 (0)91 610
8211          :
:       Via Cantonale, Galleria 2        :       +41 (0)91 610 8315
(direct) :
:       CH-6928 Manno, Switzerland       : Fax:  +41 (0)91 610
8383          :
..............................................................................