pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Krishnakanth Rao <raokr@india.hp.com>
To: pgsql-jdbc@postgresql.org
Subject: error codes using JDBC
Date: Thu, 15 Jul 2004 14:29:00 +0530
Message-ID: <001201c46a49$f94804e0$e72a0a0f@india.hp.com> (raw)

Hi,

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.

How do I obtain the exact error code as mentioned in PostGRE documents

Regards
K Krishnakanth Rao
Senior Software Engineer
HP Global Delivery India Center

29 Cunningham Road
Bangalore - 560 052  India

+91 80 22051374 DID
+91 98456 82188 Mobile

Disclaimer:
This e-mail, and any files transmitted with it are "HP Confidential" and
intended solely for the use of the individual or entity to whom it is
addressed. If you have received this e-mail in error, please discard the
message and notify me directly.





view thread (3+ messages)  latest in thread

Message-ID: <001201c46a49$f94804e0$e72a0a0f@india.hp.com>
Permalink:  ../001201c46a49$f94804e0$e72a0a0f@india.hp.com/
Also on:    postgresql.org/message-id/001201c46a49$f94804e0$e72a0a0f@india.hp.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: raokr@india.hp.com
  Subject: Re: error codes using JDBC
  In-Reply-To: <001201c46a49$f94804e0$e72a0a0f@india.hp.com>
  References: <001201c46a49$f94804e0$e72a0a0f@india.hp.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox