Re: JDBC changes for 7.2 - wish list item - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: JDBC changes for 7.2 - wish list item
Date
Msg-id 3B8A7586.3000103@xythos.com
Whole thread Raw
In response to JDBC changes for 7.2 - wish list item  (Peter Wiley <wiley@mmspl.com.au>)
List pgsql-jdbc
This is on the TODO list for the backend.  As a post a couple of days
ago stated, when the backend has error code support, it will also be
added to JDBC.  Until then....

thanks,
--Barry

Peter Wiley wrote:
> It's been mentioned before, but a set of error numbers for database errors
> would make trapping exceptions and dealing with them gracefully a LOT
> simpler. I have java code that runs against Oracle, Informix, PostgreSQL,
> MS SQL Server and Cloudscape. All(?) the others have an error code as well
> as an error message and it's a lot easier to get the error code.
>
> Of course, they all have *different* error codes for the same error (ie
> primary key violation). Nothing is ever simple.
>
> Peter Wiley
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>
>



pgsql-jdbc by date:

Previous
From: T.R.Missner@Level3.com
Date:
Subject: Fastpath error on solaris 2.8 pgsql 7.1.3
Next
From: Rene Pijlman
Date:
Subject: Re: JDBC changes for 7.2 - wish list item