X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D2EF552865 for ; Thu, 30 Jun 2005 00:54:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81712-05 for ; Thu, 30 Jun 2005 03:54:12 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 673055283A for ; Thu, 30 Jun 2005 00:54:11 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7550933; Wed, 29 Jun 2005 20:56:19 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Fred Cunningham" Subject: Re: Error saving image to PostgresSQL 8.x database Date: Wed, 29 Jun 2005 20:56:21 -0700 User-Agent: KMail/1.8 Cc: pgsql-sql@postgresql.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200506292056.21445.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.046 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/366 X-Sequence-Number: 21967 =46red, > In PostgreSQL 7.1 Documentation Chapter 8. JDBC Interface the example > below is used to store a =C2=A0image file into the database. I am using J= 2SE > 5.02 and Pervasive Postgres =C2=A08 Release 2 =C2=A0with postgresql-8.0-3= 10.jdbc3 > driver. Example 8-2. Using the JDBC Large Object Interface Why are you reading the 7.1 docs and using 8.0? How about reading the 8.0= =20 docs? =2D-=20 =2D-Josh Josh Berkus Aglio Database Solutions San Francisco