Any word on when the getErrorCode() will be implemented correctly with
SQLException? I just found out that this always returns 0 (which made for
some interesting debugging as I've been porting my code from SQLServer to
PostgreSQL). Any good work arounds? I was going to use getMessage() and
search for "Cannot insert a duplicate key" but this seems klugey. Anyone
else come up with a better solution?
-Christian
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.