| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Barry Lind | 2001-11-26 17:46:55 | Re: [HACKERS] JDBC improvements |
| Previous Message | Barry Lind | 2001-11-26 17:20:55 | Re: CallableStatements |