Re: getTransactionIsolation() causes SQLException - unrecognized

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Paul Marchant <pmarchant(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getTransactionIsolation() causes SQLException - unrecognized
Date: 2005-04-04 23:59:40
Message-ID: 4251D4EC.9070204@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Paul Marchant wrote:
> Setup: Postgres 8.0.1 & postgresql-8.0-310.jdbc3.jar

> java.sql.SQLException: ERROR: unrecognized configuration parameter
> "xactisolevel"

I can't reproduce this against 8.0.0. 'xactisolevel' doesn't appear
anywhere in the current JDBC driver sources either (from memory it was
around in the 7.3 driver though).. Are you sure you are using the
driver version you think you are using?

Test code attached. I get this:

> $ java -cp .:postgresql-8.0-310.jdbc3.jar TestIso 'jdbc:postgresql://localhost:5800/test?user=oliver'
> driver version: PostgreSQL 8.0 JDBC3 with SSL (build 310)
> db version: 8.0.0
> con.getTransactionIsolation() = 2

-O

Attachment Content-Type Size
TestIso.java text/plain 788 bytes

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrew Lazarus 2005-04-05 00:15:51 Re: JBuilder Question
Previous Message Kris Jurka 2005-04-04 23:51:07 Re: getTransactionIsolation() causes SQLException - unrecognized