Re: SET AUTOCOMMIT TO OFF no longer supported

From: Kris Jurka <books(at)ejurka(dot)com>
To: Carlos Correia <carlos(at)m16e(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SET AUTOCOMMIT TO OFF no longer supported
Date: 2006-02-04 19:58:39
Message-ID: Pine.BSO.4.61.0602041456340.15754@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, 4 Feb 2006, Carlos Correia wrote:

> I'm using Connection's setAutocommit() method and not execQuery( "set
> autocommit off" )... note that this only happens in Windows2000, not in
> Linux.
>

Check your classpath. I'd bet you've got two versions of the driver in
there. Try adding this line somewhere in your app.

org.postgresql.util.PSQLDriverVersion.main(null);

It will print where it finds the driver on stdout.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Carlos Correia 2006-02-04 23:42:17 Re: SET AUTOCOMMIT TO OFF no longer supported
Previous Message Carlos Correia 2006-02-04 19:39:44 Re: SET AUTOCOMMIT TO OFF no longer supported