Re: error codes using JDBC - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: error codes using JDBC
Date
Msg-id Pine.BSO.4.56.0407150412010.32025@leary.csoft.net
Whole thread Raw
In response to error codes using JDBC  ("Krishnakanth Rao" <raokr@india.hp.com>)
List pgsql-jdbc

On Thu, 15 Jul 2004, Krishnakanth Rao wrote:

> I'am using the jdbc driver pg73jdbc3.jar in my jdbc code to acces PostGRE
> SQL. Whenever a sql exception occurs it doesnt give me the appropriate error
> code , eg referential integrity constraint voilated etc. The error code from
> the SQLException is always zero.

Error codes are a new feature and are only available when using a 7.4 or
newer server and jdbc driver.

Kris Jurka

pgsql-jdbc by date:

Previous
From: "Krishnakanth Rao"
Date:
Subject: error codes using JDBC
Next
From: Oliver Jowett
Date:
Subject: Re: error codes using JDBC