Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-jdbc
Ian Pilcher wrote:

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

Ah, indeed. Thanks,

L

In response to

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group