Skip site navigation (1) Skip section navigation (2)

Re: ERROR WHEN I LOAD A LARGE OBJECT

From: Barry Lind <barry(at)xythos(dot)com>
To: Guillaume(dot)Bonnet(at)alcatel(dot)fr
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ERROR WHEN I LOAD A LARGE OBJECT
Date: 2001-11-26 17:25:41
Message-ID: 3C027B15.8080805@xythos.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
This error is most likely caused by the fact that you are doing a Large 
Object operation outside the context of a transaction.  As the 
documentation states, you must run Large Object calls with 
setAutoCommit(false) - which is not the default.

thanks,
--Barry

Guillaume(dot)Bonnet(at)alcatel(dot)fr wrote:

> 
> 
> Hello,
> 
> When I try to load a large object via JDBC , I have an exception on
> FastPath (similing random),
> 
> FastPath call returned ERROR:  lo_tell: invalid large object descriptor
> (0)
> 
> could you tell me more
> 
> 
> Thank...
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> 
> 



In response to

pgsql-jdbc by date

Next:From: Barry LindDate: 2001-11-26 17:46:55
Subject: Re: [HACKERS] JDBC improvements
Previous:From: Barry LindDate: 2001-11-26 17:20:55
Subject: Re: CallableStatements

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group