From: | Wieger Uffink <wieger(at)usmedia(dot)nl> |
---|---|
To: | PostgreSQL-General <pgsql-general(at)postgresql(dot)org> |
Subject: | Error Codes, JDBC, SQLExceptions |
Date: | 2001-08-24 14:33:41 |
Message-ID: | 3B8665C5.A8A25641@usmedia.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice |
Hi,
Im accessesing a postgreSQL db through JDBC, and I would like take make
use of the method, getErrorCode in the SQLException class as in
java.sql.
So far I have been able to retreive exception messages but not the error
codes in case of an SQL exception.
I would like to know if postgreSQL propegates any errorcodes at all,
since I found some post earlier on this list saying it was not
implemented, but that post didnt refer to any specific version. If it is
could someone also point out to me where these codes are defined?
I could ofcourse base my excepion handling on the messages but I'd
rather use codes.
thanks in advance,
Wieger
--
Wieger Uffink
tel: +31 20 428 6868
fax: +31 20 470 6905
web: http://www.usmedia.nl
From | Date | Subject | |
---|---|---|---|
Next Message | Tony Grant | 2001-08-24 14:49:03 | Re: valid NULL DATE value |
Previous Message | Jeff Eckermann | 2001-08-24 14:14:19 | Re: problems transfering databases |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-08-24 15:50:09 | Re: Error Codes, JDBC, SQLExceptions |
Previous Message | Tom Lane | 2001-08-24 13:34:40 | Re: Identify an inherited table |