Re: Behaviour of setAutoCommit may not be completely correct. - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: Behaviour of setAutoCommit may not be completely correct.
Date
Msg-id 442D0387.3070706@logix-tt.com
Whole thread Raw
In response to Behaviour of setAutoCommit may not be completely correct.  (João Paulo Ribeiro <jp@mobicomp.com>)
List pgsql-jdbc
Hi, João Paolo,

João Paulo Ribeiro wrote:

> From the specs: "If the value of auto-commit is changed in the middle
> of a transaction, the current transaction is committed."
>
> The postgresql have a problem with setAutocommit(...): if the value
> passed (false or true) is the same that was previously set, it just
> does nothing.

I don't see this as bug, acutally setting the value to the same it had
previously is not "changing", strictly seen.



Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


pgsql-jdbc by date:

Previous
From: João Paulo Ribeiro
Date:
Subject: Behaviour of setAutoCommit may not be completely correct.
Next
From: "Michael Paesold"
Date:
Subject: Re: Behaviour of setAutoCommit may not be completely correct.