error codes

From: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: error codes
Date: 2002-09-25 18:59:56
Message-ID: 1032980397.2719.43.camel@desenv1.ritterdosreis.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

this driver is setting the error code when a SQLException is thrown? I
got an duplicate primary key error, but getErrorCode() result is zero.
Detect which error occurred using getMessage() isn't a really good
way... :-)
--

Felipe Schnack
Analista de Sistemas
felipes(at)ritterdosreis(dot)br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes(at)ritterdosreis(dot)br
Fone/Fax.: (51)32303328

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dan Robinson 2002-09-25 22:05:46 Problems with the size of a select parameter?
Previous Message Neil Conway 2002-09-25 17:17:56 Re: Prepared statement performance...