Re: Help - lo_close: invalid large obj descriptor - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Help - lo_close: invalid large obj descriptor
Date
Msg-id 20030828013137.GC16655@opencloud.com
Whole thread Raw
In response to Re: Help - lo_close: invalid large obj descriptor  (Barry Lind <blind@xythos.com>)
Responses Re: Help - lo_close: invalid large obj descriptor
Re: Help - lo_close: invalid large obj descriptor
List pgsql-jdbc
On Wed, Aug 27, 2003 at 12:36:24PM -0700, Barry Lind wrote:
> Toby,
>
> You need to have autocommit turned off in order to use large objects.
> If I add a call to setAutocommit(false) for the connection everything
> works fine.

Does this imply that setDefaultAutoCommit is broken, then?

> >            Jdbc3ConnectionPool source = new Jdbc3ConnectionPool();
> >            source.setServerName("ash");
> >            source.setDatabaseName("adserver");
> >            source.setUser("web");
> >            source.setPassword("web");
> >            source.setDefaultAutoCommit(false);

> >            conn = source.getConnection();
> >            System.out.println(conn.getAutoCommit());

-O

pgsql-jdbc by date:

Previous
From: Johann Uhrmann
Date:
Subject: Callbacks for NOTIFY
Next
From: wsmeyer@ibest.com.br
Date:
Subject: Java not running under Linux