Re: Begin transaction? - Mailing list pgsql-jdbc

From Bjørn T Johansen
Subject Re: Begin transaction?
Date
Msg-id 1064268513.30622.6.camel@pennywise.havleik.no
Whole thread Raw
In response to Re: Begin transaction?  (Paul Thomas <paul@tmsl.demon.co.uk>)
List pgsql-jdbc
I was kind of expected that, maybe I should have looked at the soruce first...
Thx...


BTJ

On Mon, 2003-09-22 at 16:18, Paul Thomas wrote:
On 22/09/2003 12:38 Bjørn T Johansen wrote:
> I was just wondering if one needs to execute some kind of Begin command
> to start the transaction og is it enough just to set Autocommit to
> false?


If look at the driver sources you'll see that setAutocommit(false) does 
exactly that.

HTH

pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: java.net.SocketException: Broken pipe
Next
From: Bjørn T Johansen
Date:
Subject: Table Lock?