Received: from piora-fddi.cscs.ch (piora-fddi.cscs.ch [148.187.1.180]) by hub.org (8.9.3/8.9.3) with ESMTP id GAA89497 for ; Tue, 23 Nov 1999 06:11:54 -0500 (EST) (envelope-from Rafal.Piotrowski@CSCS.CH) Received: from muzzano (muzzano [148.187.130.80]) by piora-fddi.cscs.ch (8.8.7/8.8.7) with ESMTP id MAA02945 for ; Tue, 23 Nov 1999 12:11:53 +0100 (MET) Received: from CSCS.CH by muzzano (8.9.1b+Sun) id MAA08576; Tue, 23 Nov 1999 12:11:52 +0100 (MET) Sender: rpiotrow@CSCS.CH Message-ID: <383A7678.F9288377@CSCS.CH> Date: Tue, 23 Nov 1999 12:11:52 +0100 From: "Rafal Piotrowski (CSCS)" Organization: CSCS X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: PostgreSQL Interfaces Subject: problem : InputStream as parameter not supported Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 : ..............................................................................