| From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
|---|---|
| To: | Barry Lind <blind(at)xythos(dot)com> |
| Cc: | Toby <toby(at)paperjet(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: Help - lo_close: invalid large obj descriptor |
| Date: | 2003-08-28 01:31:39 |
| Message-ID: | 20030828013137.GC16655@opencloud.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Barry Lind | 2003-08-28 01:45:23 | Re: FATAL: Socket command type A unknown |
| Previous Message | Barry Lind | 2003-08-27 19:44:22 | Re: [PATCHES] Bad Short Default v530 (Fix getXXX methods when used |