RE: using java servlets ,large objects with postgresql

From: Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
To: "'Manika dey'" <bithi(at)plasma(dot)ernet(dot)in>, Peter Mount <petermount(at)maidstone(dot)gov(dot)uk>
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: RE: using java servlets ,large objects with postgresql
Date: 2000-11-06 11:08:06
Message-ID: 1B3D5E532D18D311861A00600865478CF1B4DC@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hmmm, normally it's (0) not (-1), and that's because you are accessing the
large object outside a transaction.

I'm assuming that you are running with AutoCommit set to false?

--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)maidstone(dot)gov(dot)uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council

-----Original Message-----
From: Manika dey [mailto:bithi(at)plasma(dot)ernet(dot)in]
Sent: Monday, November 06, 2000 5:17 PM
To: Peter Mount
Cc: postgres-inter
Subject: using java servlets ,large objects with postgresql

i am trying to retrive my data through Web using java servlets
but it seems servlet is not able to get the driver as it gives
the error : Fastpath: ERROR: lo_tell: invalid large object descriptor
(-1)

ie. the servlet is not able to get the oid needed to retrieve the data

i get this error only when i am using servlet to retrieve the data,
i tried by keeping the postgresql.jar in servlet engine's lib directory
also.

can anyone help to sort out this problem .it's important.
i am using JDK2.0 on solaris2.5 platform

-------------------------------------------------------------------

From:- |
Ms. Manika Dey. |Ph.No:--
Engineer-SC (Comp. Tech.) | IPR -- 02712 - 69276
I.P.R | EXT 336,315
BHAT, GANDHINAGAR | Residence -- 079 - 6619967
Gujrat -- 382 428 | FAX --- 69017
------------------------------------------------------------------


Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-11-06 11:37:13 Ways of loading the JDBC Driver (was RE: )
Previous Message George Koras 2000-11-06 10:39:44 Re: