Re: Getting oid of 0 when doing LargeObjectManager.create()

From: Barry Lind <barry(at)xythos(dot)com>
To: cjwhite(at)cisco(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Getting oid of 0 when doing LargeObjectManager.create()
Date: 2002-07-11 03:56:56
Message-ID: 3D2D0208.50808@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Chris,

What version are you using? I just fixed a bug last week on this, so
have you tried the latest development driver build from jdbc.postgresql.org?

If this isn't related to the bug I fixed then it is likely related to
the fact that you are trying to use a large object after having done a
commit. In order to use large objects you must run with autocommit
turned off since the large object pointer becomes invalid on a commit.

thanks,
--Barry

Chris White wrote:

> I am getting a oid value of 0 returned when I do a
> LargeObjectManager.create(). This tells me that I can't create a large
> object. What reasons would cause this? and what I can do to solve the
> problems.
>
> thanks
> Chris White

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chris White 2002-07-11 05:42:51 Re: Getting oid of 0 when doing LargeObjectManager.create()
Previous Message Chris White 2002-07-11 00:53:24 Re: Getting oid of 0 when doing LargeObjectManager.create()