Received: from pain.crcg.edu (pain.crcg.edu [207.252.32.124]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA65580 for ; Tue, 22 Jun 1999 12:12:11 -0400 (EDT) (envelope-from szimmert@crcg.edu) Received: from crcg.edu (wheel.crcg.edu [207.252.32.136]) by pain.crcg.edu (8.9.1b+Sun/8.9.1) with ESMTP id MAA15414; Tue, 22 Jun 1999 12:05:32 -0400 (EDT) Message-ID: <376FDE21.E8EEE3EF@crcg.edu> Date: Tue, 22 Jun 1999 12:04:01 -0700 From: Steffen Zimmert Organization: Fraunhofer CRCG, Inc. X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Herouth Maoz CC: pgsql-interfaces@postgreSQL.org Subject: Re: JDBC:Using Large Objects References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Herouth Maoz wrote: > > At 21:38 +0300 on 22/06/1999, Steffen Zimmert wrote: > > > I created the associated database table with the following statement: > > create table images (imgname name, imgoid oid); > Well, if it's defined as an oid, and you pass an array of bytes to it, it > certainly won't work. An oid is a four-byte integer, not a byte array. I see. But this is the way it is described in the JDBC docs, at page 167. Is there a way to save a Byte array in the PostgreSQL database? -- Best Regards, Steffen Zimmert Steffen Zimmert Fraunhofer Center for Research in Computer Graphics Providence, Rhode Island, USA email: szimmert@crcg.edu