pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Maxime Lévesque <maxime.levesque@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: why do some failure spoils the jdbc connection ?
Date: Sat, 1 May 2010 11:11:53 -0400
Message-ID: <y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@mail.gmail.com> (raw)

 Hi everyone,

 When I execute some statements, for example droping a constraint and the
constraint
doesn't exist, an exception gets thrown as expected. If I issue another
statelemt
via the same connection, I get another exception saying the transaction is
canceled,
in other words, the connection is no longer useable.

 Is the re a way that I can concinue using the connection ?

 Thanks

view thread (2+ messages)  latest in thread

Message-ID: <y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@mail.gmail.com>
Permalink:  ../y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@mail.gmail.com/
Also on:    postgresql.org/message-id/y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@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: maxime.levesque@gmail.com
  Subject: Re: why do some failure spoils the jdbc connection ?
  In-Reply-To: <y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@mail.gmail.com>
  References: <y2n554f5f781005010811p573b5e6ejac0282dbb0a79699@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