Re: How to get Error Codes

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Sica, David (David)" <dsica(at)avaya(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to get Error Codes
Date: 2004-04-10 14:05:52
Message-ID: Pine.BSO.4.56.0404100904180.4634@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 7 Apr 2004, Sica, David (David) wrote:

> I've just installed PostgreSQL 7.4.2 in hopes of being able to retrieve
> error codes from the database. Is there any information out there on
> how to retrieve error codes using the latest JDBC driver?
>

See java.sql.SQLException#getSQLState()

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message vijay raghava 2004-04-10 15:44:09 PostgreSQL and MySql
Previous Message Kris Jurka 2004-04-10 14:04:07 Re: Connection Idle in transaction