Re: About Postgres Large Object - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: About Postgres Large Object
Date
Msg-id Pine.LNX.4.33.0402010724000.19128-100000@leary.csoft.net
Whole thread Raw
In response to About Postgres Large Object  (root <virender@magnum.barc.ernet.in>)
List 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



pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool
Next
From: "Dave Page"
Date:
Subject: Re: FW: [webmaster] jdbc site: documentation links broken