Skip site navigation (1) Skip section navigation (2)

Re: setAutoCommit(false)

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setAutoCommit(false)
Date: 2004-05-12 18:25:07
Message-ID: 1084386306.1540.174.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: 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(at)postgresql(dot)org
> 
> 
> 
> !DSPAM:40a24b75281861655120010!
> 
> 
-- 
Dave Cramer
519 939 0336
ICQ # 14675561


In response to

Responses

pgsql-jdbc by date

Next:From: Marcos TruchadoDate: 2004-05-12 19:22:40
Subject: Problem with transactions
Previous:From: Thomas KellererDate: 2004-05-12 15:48:16
Subject: Re: setAutoCommit(false)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group