Re: setAutoCommit(false) - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: setAutoCommit(false)
Date
Msg-id 1084386306.1540.174.camel@localhost.localdomain
Whole thread Raw
In response to Re: setAutoCommit(false)  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Problem with transactions
List pgsql-jdbc
Thomas,

This is very definitely an old driver.

The best way to find this is to write a single line program
with a main and the following line.
Class.forName("org.posgtgresql.Driver")

then run java -verbose to see where it is loading the driver from.

Dave
On Wed, 2004-05-12 at 11:48, Thomas Kellerer wrote:
> Kris Jurka schrieb:
> >>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
> >>
> >
> > The user is not using a 7.4 series JDBC driver.  They likely have the 7.3
> > driver hidden somewhere in their classpath which is being used.  This
> > error and associated stack trace are not from a 7.4 driver.
> >
>
> I'm seeing the same error with the 7.4 driver and the dev driver against
> the current Win32 builds...
>
> Thomas
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
> !DSPAM:40a24b75281861655120010!
>
>
--
Dave Cramer
519 939 0336
ICQ # 14675561


pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: setAutoCommit(false)
Next
From: Marcos Truchado
Date:
Subject: Problem with transactions