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