Re: autocommit trouble with jdbc on Postgres 7.4

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Bob Cart <bob(at)cartdev(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: autocommit trouble with jdbc on Postgres 7.4
Date: 2003-12-01 03:53:29
Message-ID: 20031201035329.GE14296@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bob Cart 2003-12-01 03:59:36 Re: autocommit trouble with jdbc on Postgres 7.4
Previous Message Ezotyrik 2003-12-01 03:48:12 Backend Protocol Examples?