Re: large object descriptor

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Manika dey <bithi(at)ipr(dot)res(dot)in>
Cc: Peter T Mount <peter(at)retep(dot)org(dot)uk>, postgres-inter <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: large object descriptor
Date: 2001-03-02 15:11:46
Message-ID: 983545906.3a9fb83243bbb@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Quoting Manika dey <bithi(at)ipr(dot)res(dot)in>:

>
> Hi,
>
> Whenever i try to acces my data using servlets
> i get error
>
> Fastpath: ERROR: lo_tell: invalid large object descriptor (-1)

turn off AutoCommit using: setAutoCommit(false);

To use large objects you must be within a transaction.

Peter

--
Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-02 16:33:26 Re: get Timestamp with PQgetvalue()...
Previous Message Laurent 2001-03-02 14:29:54 import large objects with libpq