Re: Transaction Isolation Level

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Grace C(dot) Unson" <gracec(at)ntsp(dot)nec(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Transaction Isolation Level
Date: 2004-03-24 22:55:23
Message-ID: Pine.BSO.4.56.0403241712050.13875@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 25 Mar 2004, Grace C. Unson wrote:

> Hello.
>
> How is it possible that ResultSetObjInstance in this statement
>
> ResultSetObjInstance = PreparedObjInstance.executeQuery()
>
> contains this column and value respectively:
>
> TRANSACTION ISOLATION LEVEL , READ_COMMITTED ?
>
> ---
> Note:
> During the query operation, lots of write operations are going
> simultaneously in the DB. If this is the reason of the "not-expected" value
> above, why is it returned and not thrown as exception?
>

This could be an indication of a thread safety problem in the driver. Are
you using multiple threads on the same connection? The only code (other
than your own) that could generate that ResultSet would be calling
Connection.getTransactionIsolation() do you have any of these calls in
your code?

What version of the driver are you using?

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dustin Sallings 2004-03-24 23:03:06 Re: subversion vs cvs (Was: Re: linked list rewrite)
Previous Message Guy Fraser 2004-03-24 22:51:15 Re: PHP or JSP? That is the question.