problem : InputStream as parameter not supported - Mailing list pgsql-interfaces

From Rafal Piotrowski (CSCS)
Subject problem : InputStream as parameter not supported
Date
Msg-id 383A7678.F9288377@CSCS.CH
Whole thread Raw
List pgsql-interfaces
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          :
..............................................................................


pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: header problem
Next
From: "Rafal Piotrowski (CSCS)"
Date:
Subject: LargeObject.write(byte[] buf) method