using large objects with jdbc

From: Manika dey <bithi(at)plasma(dot)ernet(dot)in>
To: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: using large objects with jdbc
Date: 2000-11-01 22:01:57
Message-ID: Pine.GSO.4.10.10011011628020.23435-100000@sun4.plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I am using largeobject for storing my datafiles in database
postgresql6.3.2

but when I try to retrieve my data from database to a file.
i get the following type of error

Exception caught.
java.sql.SQLException: Fastpath: ERROR: lo_tell: invalid large object
descriptor (0)
java.sql.SQLException: Fastpath: ERROR: lo_tell: invalid large object
descriptor (0)

at postgresql.fastpath.Fastpath.fastpath(Fastpath.java:135)
at postgresql.fastpath.Fastpath.fastpath(Fastpath.java:181)
at postgresql.fastpath.Fastpath.getInteger(Fastpath.java:193)
at postgresql.largeobject.LargeObject.tell(LargeObject.java:206)
at postgresql.largeobject.LargeObject.size(LargeObject.java:221)
at dfile.<init>(dfile.java:86)
at dfile.main(dfile.java:128)

how can i get rid of the above mentioned errors.

manika


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

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
------------------------------------------------------------------


In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message George Henry C. Daswani 2000-11-02 07:32:29 JDBC - setAsciiStream - how to support?
Previous Message Clark, Joel 2000-11-01 21:41:12 RE: Connecting remotely.