From: Oliver Jowett <oliver@opencloud.com>
To: andy@ajsoft.net
Cc: pgsql-jdbc@postgresql.org
Subject: Re: setAutoCommit(false)
Date: Wed, 12 May 2004 22:50:10 +1200
Message-ID: <40A20162.5010206@opencloud.com> (raw)
In-Reply-To: <20040512094519.11446.qmail@web50807.mail.yahoo.com>
References: <20040512094519.11446.qmail@web50807.mail.yahoo.com>
Andy Jefferson wrote:
> Hi,
>
> I'm a developer on a JDO implementation and we support PostgreSQL as a
> database. When obtaining a connection for the DB we do a
> setAutoCommit(false). Nothing controversial there. I've used PostgreSQL
> 7.3.* with no problems and also 7.4.1-2 with no problems. I do however
> have
> a user saying that he is using latest PostgreSQL (postgresql 7.4.2 with
> pg74.213.jdbc3 is what he told me) and our call to setAutoCommit(false)
> apparently returns
>
> java.sql.SQLException: ERROR: SET AUTOCOMMIT TO OFF is no longer
> supported
This happens if you use a 7.3-series driver against a 7.4-series
database. The most likely cause is that your user is not using the
driver they think they are; perhaps there is an older version of the
driver earlier in the classpath or in the JVM's extension search path.
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, andy@ajsoft.net
Subject: Re: setAutoCommit(false)
In-Reply-To: <40A20162.5010206@opencloud.com>
References: <20040512094519.11446.qmail@web50807.mail.yahoo.com> <40A20162.5010206@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox