pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Bojer <ibojer@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Please help! - Constraints Exception
Date: Wed, 17 Jun 2009 12:57:54 -0700
Message-ID: <ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com>
Permalink:  ../ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com/
Also on:    postgresql.org/message-id/ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ibojer@gmail.com
  Subject: Re: Please help! - Constraints Exception
  In-Reply-To: <ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com>
  References: <ac6251120906171257q69116eees210591ca33eae151@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox