Re: does SQLException.getErrorCode() now works?
От | Dave Cramer |
---|---|
Тема | Re: does SQLException.getErrorCode() now works? |
Дата | |
Msg-id | 1071584447.1693.507.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | does SQLException.getErrorCode() now works? (Marcos Truchado <mtruchado@telefonica.net>) |
Список | pgsql-jdbc |
error codes were only implemented in the 7.4 version of postgres, so a 7.3 db or driver won't know what to do with them. The file to look in is org/postgresql/util/PSQLState.java Dave On Tue, 2003-12-16 at 09:02, Marcos Truchado wrote: > Hi: > I'm wondeirng if SQLException => getErrorCode()| method works with the > new JDBC 7.4 drivers. I have tested it with the old 7.3 and did not > work, but I have read something about error codes in the postgresql > webpage, can anyone tell me if it is allready implemented?, if not, when > a error becomes, how to know what kind of error do I have?, I need to > know it to response in my program with this or that action. If yes, > where to find a list of error codes?. > > Thanks very much. > | > > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > >
В списке pgsql-jdbc по дате отправления: