Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 550376334D8 for ; Wed, 17 Jun 2009 16:57:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 49846-06 for ; Wed, 17 Jun 2009 16:57:56 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f195.google.com (mail-qy0-f195.google.com [209.85.221.195]) by mail.postgresql.org (Postfix) with ESMTP id 792B6632234 for ; Wed, 17 Jun 2009 16:57:56 -0300 (ADT) Received: by qyk33 with SMTP id 33so715369qyk.15 for ; Wed, 17 Jun 2009 12:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=8eizGJiEbHuOuiLzWHmxDwePRvseZAb2Dukpb618Udc=; b=tnGJi/4A9rKKkFksc+4mmXxb6cRjfB3bFcFEhnbffi+gXFQBLrSozsURKGorufmvKz lP0EGvPcYA/KP2fxMr2iStpRfBPP+vvjrwxO8zL5awXpsbVf+/2FdhXTKUzwJsrxFjfU X2AUpdoSOzToBwtgjstrh9hurkpFP+gJ6UMLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=YxnxCOLa+BNGrSliFKs5KzD9Wob00fM1HWwRqWc2VbOn9EI2fWHplj6OrAX2stpOyd V2yhWqaryxyQIq9pnCiG3lm3wOdir7BagVcuSpslHvVjcX7MG6j0neBQ2AS8269tQ/J+ xm/p1QxElqU9viacuacGGd+HPNlkAceLjS77Q= MIME-Version: 1.0 Received: by 10.220.73.209 with SMTP id r17mr824325vcj.113.1245268674831; Wed, 17 Jun 2009 12:57:54 -0700 (PDT) Date: Wed, 17 Jun 2009 12:57:54 -0700 Message-ID: Subject: Please help! - Constraints Exception From: Ivan Bojer To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200906/67 X-Sequence-Number: 19731 Hello all, I am new to pgsql-JDBC and I apologize if this is a trivial question but I can not hack it! I have a table with UNIQUE constraint on the column. Inserting 2 of same values on it fails (as it should) and I can see DBLog Error message. Alas, there is no exception thrown from JDBC so that I can properly handle it. Any hints are appreciated! Config -------- postgresql 8.3 JDBC3 (8.3-604) database is accessed through the network