[GENERAL] Error Codes, JDBC, SQLExceptions

2001-08-24 Thread Wieger Uffink
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

Re: [GENERAL] Error Codes, JDBC, SQLExceptions

2001-08-24 Thread Peter Eisentraut
Wieger Uffink writes: I would like to know if postgreSQL propegates any errorcodes at all, No. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---(end of broadcast)--- TIP 2: you can get off all lists at once with

Re: [GENERAL] Error Codes, JDBC, SQLExceptions

2001-08-24 Thread Wieger Uffink
hehe thank you for your elaborate though very clear reply :) thanks really Wieger Peter Eisentraut wrote: Wieger Uffink writes: I would like to know if postgreSQL propegates any errorcodes at all, No. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter

Re: [GENERAL] Error Codes, JDBC, SQLExceptions

2001-08-24 Thread Barry Lind
Wieger, The server does not have a concept of error codes currently (it is on the TODO list). Therefore the JDBC driver has no error code to report since it doesn't get one from the backend. When the server supports error codes the JDBC driver will as well. thanks, --Barry Wieger Uffink