Re: Begin transaction?

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Begin transaction?
Date: 2003-09-22 22:08:33
Message-ID: 1064268513.30622.6.camel@pennywise.havleik.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bjørn T Johansen 2003-09-22 22:09:59 Table Lock?
Previous Message Barry Lind 2003-09-22 15:46:44 Re: java.net.SocketException: Broken pipe