Re: No error code on unique constraint violation

From: Laurent Duperval <Laurent(dot)Duperval(at)fleetmind(dot)com>
To: Ian Pilcher <i(dot)pilcher(at)comcast(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: No error code on unique constraint violation
Date: 2004-11-29 16:05:02
Message-ID: 41AB48AE.7040308@fleetmind.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Ian Pilcher wrote:

>
> You need to check the SQLSTATE string -- SQLException.getSQLState().
>

Ah, indeed. Thanks,

L

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Smith 2004-11-30 05:41:19 Primary Key Error Updating Rows in ResultSet
Previous Message Ian Pilcher 2004-11-29 15:22:01 Re: No error code on unique constraint violation