X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 576093A519E for ; Mon, 29 Nov 2004 16:05:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83424-08 for ; Mon, 29 Nov 2004 16:05:04 +0000 (GMT) Received: from mail1.fleetmind.com (unknown [216.13.47.20]) by svr1.postgresql.org (Postfix) with SMTP id 49A4C3A5189 for ; Mon, 29 Nov 2004 16:05:00 +0000 (GMT) Received: From [127.0.0.1] ([127.0.0.1]) by mail1.fleetmind.com (WebShield SMTP v4.5 MR1a); id 1101744299339; Mon, 29 Nov 2004 11:04:59 -0500 X-Processing: Received: from tetrasvr.fleetmind.com (LocalNetwork) [127.0.0.0] by mail1 with SMTP (Fluffy the SMTPGuardDog - Version 1.4.95); 29 Nov 2004 11:04:59 -0500 Received: from [192.168.201.40] (ING-LAURENT [192.168.201.40]) by tetrasvr.fleetmind.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XR9GZL51; Mon, 29 Nov 2004 11:05:02 -0500 Message-ID: <41AB48AE.7040308@fleetmind.com> Date: Mon, 29 Nov 2004 11:05:02 -0500 From: Laurent Duperval User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Pilcher Cc: pgsql-jdbc@postgresql.org Subject: Re: No error code on unique constraint violation References: <41AB38F5.7000205@fleetmind.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/223 X-Sequence-Number: 11645 Ian Pilcher wrote: > > You need to check the SQLSTATE string -- SQLException.getSQLState(). > Ah, indeed. Thanks, L