Re: error codes using JDBC

From: Kris Jurka <books(at)ejurka(dot)com>
To: Krishnakanth Rao <raokr(at)india(dot)hp(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: error codes using JDBC
Date: 2004-07-15 09:12:46
Message-ID: Pine.BSO.4.56.0407150412010.32025@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-07-15 09:14:59 Re: error codes using JDBC
Previous Message Krishnakanth Rao 2004-07-15 08:59:00 error codes using JDBC