Re: JDBC changes for 7.2 - wish list item
От | Barry Lind |
---|---|
Тема | Re: JDBC changes for 7.2 - wish list item |
Дата | |
Msg-id | 3B8A7586.3000103@xythos.com обсуждение исходный текст |
Ответ на | JDBC changes for 7.2 - wish list item (Peter Wiley <wiley@mmspl.com.au>) |
Список | 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 по дате отправления: