RE: using large objects with jdbc

Поиск
Список
Период
Сортировка
От Manika dey
Тема RE: using large objects with jdbc
Дата
Msg-id Pine.GSO.4.10.10011021257530.21179-100000@sun4.plasma.ernet.in
обсуждение исходный текст
Ответ на RE: using large objects with jdbc  (Peter Mount <petermount@it.maidstone.gov.uk>)
Список pgsql-interfaces
Hi,
 in the very prevoius mail i mailed you some error i have  rectified it but i am getting the following error  now 
Opening large object 25121
Opening test destination object
Copying large object to file
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)


it writes fine to database but while reading it gives the above mentioned
error
i will be thankful if somebody can help solve this problem .thanks
-------------------------------------------------------------------

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




                                                     





В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "George Henry C. Daswani"
Дата:
Сообщение: JDBC - setAsciiStream - how to support?
Следующее
От: Kovacs Zoltan Sandor
Дата:
Сообщение: RE: RE: new maintainer for the ODBC driver?