Re: About Postgres Large Object

From: Kris Jurka <books(at)ejurka(dot)com>
To: <virender(at)hotmail(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>, <virender(at)magnum(dot)barc(dot)ernet(dot)in>
Subject: Re: About Postgres Large Object
Date: 2004-02-01 12:30:18
Message-ID: Pine.LNX.4.33.0402010724000.19128-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 27 Jan 2004, root wrote:

> Hi ,
> I am using postgresql 7.1.3 and Redhat 7.3
> I am running this servlet given below. But it is not running
>
> obj.read(buf, 0, obj.size());
>
> [27/01/2004 10:19:43:138 IST] java.lang.NoSuchMethodError:
> org.postgresql.largeo
> bject.LargeObject.read([BII)V

I wonder if you are running your application with the same
version you compiled against. I note the cvs log shows:

revision 1.2
date: 2001/01/31 08:26:02; author: peter; state: Exp; lines: +29 -23
- Changed LargeObject.read(byte[],int,int) to return the actual
number of bytes read (used to be void).

This was between the 7.0 and 7.1 release. So I'm guessing you have a
mismatch between compilation and runtime jar files. That said I'm
obligated to remind you that 7.1 is old you should upgrade.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Page 2004-02-01 17:18:51 Re: FW: [webmaster] jdbc site: documentation links broken
Previous Message Kris Jurka 2004-02-01 12:17:17 Re: How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool