Re: Changing transaction isolation mid-transaction

From: Barry Lind <blind(at)xythos(dot)com>
To: John Laban <johnl(at)infotn(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Changing transaction isolation mid-transaction
Date: 2003-04-02 16:39:30
Message-ID: 3E8B1242.7000706@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

John,

From what I remember when looking at this last you are correct. The
change takes effect when the next transaction starts.

--Barry

John Laban wrote:
> Quick question...
>
> In Sun's API for the Connection class, in the setTransactionIsolation(int) method, there is a note that says:
>
> Note: If this method is called during a transaction, the result is implementation-defined.
>
> What happens with the postgresql jdbc driver? Does the transaction isolation actually change during the current transaction or does it wait until the next transaction?
>
> From my preliminary testing it seems to be the latter, but I was wondering if anybody knew for sure.
>
>
> Thanks,
> John Laban
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-04-02 17:09:05 Re: prepared statements and sequences
Previous Message Ryan Wexler 2003-04-02 15:52:56 Re: prepared statements and sequences