| From: | Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk> |
|---|---|
| To: | Bjørn T Johansen <btj(at)havleik(dot)no> |
| Cc: | "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: Begin transaction? |
| Date: | 2003-09-22 14:18:01 |
| Message-ID: | 20030922151801.A25906@bacon |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 |
+------------------------------+---------------------------------------------+
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2003-09-22 14:21:59 | Re: Help: ResultSet..insertRow() not coping with explicit |
| Previous Message | Phil.Hourihane | 2003-09-22 12:43:20 | java.net.SocketException: Broken pipe |