Re: Begin transaction? - Mailing list pgsql-jdbc

From Paul Thomas
Subject Re: Begin transaction?
Date
Msg-id 20030922151801.A25906@bacon
Whole thread Raw
In response to Begin transaction?  (Bjørn T Johansen <btj@havleik.no>)
Responses Re: Begin transaction?  (Bjørn T Johansen <btj@havleik.no>)
List pgsql-jdbc
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

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants         |
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

pgsql-jdbc by date:

Previous
From: Jim Wright
Date:
Subject: Help: ResultSet..insertRow() not coping with explicit oid
Next
From: Dave Cramer
Date:
Subject: Re: Help: ResultSet..insertRow() not coping with explicit