Re: ERROR WHEN I LOAD A LARGE OBJECT - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: ERROR WHEN I LOAD A LARGE OBJECT
Date
Msg-id 3C027B15.8080805@xythos.com
Whole thread Raw
In response to ERROR WHEN I LOAD A LARGE OBJECT  (Guillaume.Bonnet@alcatel.fr)
List 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.Bonnet@alcatel.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@postgresql.org
>
>



pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: CallableStatements
Next
From: Barry Lind
Date:
Subject: Re: [HACKERS] JDBC improvements