Re: Serializable transactions and SQLException

From: Giampaolo Tomassoni <g(dot)tomassoni(at)libero(dot)it>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Serializable transactions and SQLException
Date: 2004-10-29 08:37:36
Message-ID: 200410291037.36833.g.tomassoni@libero.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Friday 29 October 2004 04:19, you wrote:
>
> ... omissis...
>
> If you are connected to a >= 7.4 server getSQLState will have a value for
> this error. The best way to identify it and make sure you code works on
> other database platforms is to actually write a small test case to
> generate this error and grab the error code. PG will always return
> the same error code, but other databases may not use the same one and the
> best way to find out is actually testing.

Thank you everybody for the prompt help.

I see your replies suggest to switch to a 7.4 or earlier version. I have 7.3.2
in my production environment. What is supposed to solve a >=7.4 server in
relation to serializable isolation?

Thanks again,

Giampaolo Tomassoni

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-10-29 08:44:35 Re: Serializable transactions and SQLException
Previous Message Kris Jurka 2004-10-29 02:20:25 Re: Setting up JDBC on a Windows Platform (PostgreSQL)