Received: from hostfw.transiciel.com (mailer@mailhost.transiciel.com [194.2.163.125]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA78555 for ; Tue, 18 Apr 2000 15:01:28 -0400 (EDT) (envelope-from pcoval@transiciel.com) Received: by hostfw.transiciel.com; id UAA24725; Tue, 18 Apr 2000 20:39:33 +0200 (CEST) Received: from unknown(10.2.1.24) by hostfw.transiciel.com via smap (4.0) id xma024721; Tue, 18 Apr 2000 20:39:32 +0200 Received: by aphrodite.intranet.transiciel.com(Lotus SMTP MTA v4.62a (693.3 11-8-1998)) id C12568C5.00677897 ; Tue, 18 Apr 2000 20:50:10 +0200 X-Lotus-FromDomain: TRANSICIEL From: "Philippe COVAL" To: sreilly@cnri.Reston.Va.U cc: pgsql-interfaces@postgreSQL.org Message-ID: Date: Tue, 18 Apr 2000 17:00:56 +0200 Subject: http://rzr.online.fr/hitseek Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Archive-Number: 200004/132 Warning : My permanent email is MailTo:PhilC@writeme.com (DO NOT USE "PCoval@transiciel.com" or any other ones, thanx) --- did u solve this problem ? if yes how ? :) thanx you binary insert with JDBC --------------------------------------------------------------------------- ----- From: Sean Reilly To: interfaces postgres Subject: binary insert with JDBC Date: Mon, 11 May 1998 18:08:45 -0400 --------------------------------------------------------------------------- ----- Can anyone tell me how to insert binary data into a postgres table using JDBC? What type field should I use? Most importantly, how do I create an SQL statement with binary data? I thought this could be done with a PreparedStatement and setBytes() but it doesn't seem to be implemented in postgres.PreparedStatement. Is there some way to encode the binary value into the SQL string (like hex encoding or something)? I looked through the docs but couldn't find anything related to this, but it seems like it might be a common problem. Thanks, Sean --- Philippe COVAL - http://RzR.online.FR - MailTo:philc@writeme.com