From: Rafal Piotrowski (CSCS) <Rafal.Piotrowski@CSCS.CH>
To: PostgreSQL Interfaces <pgsql-interfaces@postgreSQL.org>
Subject: problem : InputStream as parameter not supported
Date: Tue, 23 Nov 1999 12:11:52 +0100
Message-ID: <383A7678.F9288377@CSCS.CH> (raw)
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 :
..............................................................................
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: Rafal.Piotrowski@CSCS.CH
Subject: Re: problem : InputStream as parameter not supported
In-Reply-To: <383A7678.F9288377@CSCS.CH>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox