Home > Archive > PostgreSQL JDBC > April 2005 > Re: getTransactionIsolation() causes SQLException - unrecognized









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: getTransactionIsolation() causes SQLException - unrecognized
Oliver Jowett

2005-04-04, 8:05 pm

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. getTransactionIsolat
ion() = 2


-O

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com