Re: Another exception (Transaction level)

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Darin Ohashi <DOhashi(at)maplesoft(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Another exception (Transaction level)
Date: 2003-07-28 14:15:05
Message-ID: 3F252FE9.8070309@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Darin Ohashi wrote:
>>As I've mention before they _are_ supported and as _per standard_.
>>The standard allows implementations to provide a higher
>>isolation level
>>in place of any lower level that is not implemented.
>>
>
>
> With 7.3.3, if you try to set the isolation level to
> TRANSACTION_READ_UNCOMMITTED or TRANSACTION_REPEATABLE_READ an exception is
> raised. For these levels to be supported shouldn't the driver accept them and
> set the actual level to the higher one?
>

Yes, the JDBC standard assumes the SQL standard, so to be JDBC compliant
one is assumed to be SQL compliant as well.

We could do this in the driver to make it for the older backends (we are
going to support 7.3 and 7.2 in the 74 driver still). On the other
hand, people using 7.3 backends have other non-SQL compliances that we
cannot mask with the driver, so I wonder if this is worthy of the extra
if statement. But that is for Barry and Dave to decide, if someone
submits a patch.

Regards,
Fernando

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-07-28 14:26:52 Re: Passing server_encoding to the client is not future-proof
Previous Message Darin Ohashi 2003-07-28 14:07:16 Re: Another exception (Transaction level)