Re: About Postgres Large Object

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: About Postgres Large Object
Дата
Msg-id Pine.LNX.4.33.0402010724000.19128-100000@leary.csoft.net
обсуждение исходный текст
Ответ на About Postgres Large Object  (root <virender@magnum.barc.ernet.in>)
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: FW: [webmaster] jdbc site: documentation links broken