Re: autocommit trouble with jdbc on Postgres 7.4 - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: autocommit trouble with jdbc on Postgres 7.4
Date
Msg-id 20031201035329.GE14296@opencloud.com
Whole thread Raw
In response to Re: autocommit trouble with jdbc on Postgres 7.4  (Bob Cart <bob@cartdev.com>)
List pgsql-jdbc
On Sun, Nov 30, 2003 at 06:53:24PM -0800, Bob Cart wrote:

[...]

> Some brave soul out there needs to dig into that part of the driver
> code to see what's up. Go for it Oliver!

Ok. After some digging, the postgresql driver shipped with the app is fairly
old (at least 6 months) and includes code that makes server-side autocommit
reflect jdbc-side autocommit. This doesn't work on a 7.4 server.

Using the 7.4 stable CVS driver everything appears to behave correctly.

So.. upgrade your driver and try again. Copying the new driver jar over and
restarting seemed to be sufficient for the app to pick it up.

-O

pgsql-jdbc by date:

Previous
From: Dave Tenny
Date:
Subject: Re: autocommit trouble with jdbc on Postgres 7.4
Next
From: Bob Cart
Date:
Subject: Re: autocommit trouble with jdbc on Postgres 7.4