Re: Behaviour of setAutoCommit may not be completely correct.

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: João Paulo Ribeiro <jp(at)mobicomp(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Behaviour of setAutoCommit may not be completely correct.
Date: 2006-03-31 10:25:11
Message-ID: 442D0387.3070706@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michael Paesold 2006-03-31 12:57:38 Re: Behaviour of setAutoCommit may not be completely correct.
Previous Message João Paulo Ribeiro 2006-03-31 10:02:54 Behaviour of setAutoCommit may not be completely correct.