Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 618836326E2 for ; Sat, 1 May 2010 12:12:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 15497-07 for ; Sat, 1 May 2010 15:11:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.212.174]) by mail.postgresql.org (Postfix) with ESMTP id D240863250C for ; Sat, 1 May 2010 12:11:54 -0300 (ADT) Received: by pxi17 with SMTP id 17so638211pxi.19 for ; Sat, 01 May 2010 08:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JnsJcUoEDkekn14+oYui1Txdmlk7LVpQ5A32jhuXkVo=; b=THbsinVmNbxTVNyjJr08qmWy9LM2JbTiArP7W8lpOpwX3mi9l/vhPDgWo89AnyESq4 io5/EaF0H1ZYRMdtnnIvGR/0JqMjCVQTaSff0d/ySi4MUA+qnnOjEwM3MuxRbCk6f1Ts JHwEEh6aTzpybReTrBPbm48J/uqJ/159u5oKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HSbR8R5ez+kimJLtCMpYDcdoEDWs6KWKk+FmHsiYwv6zi4BjASw7yJ9/6xhGbBHAwS rtLgW34MvSScjGYHy8PYsEbisg1ozp6dV+InwlyMONG2mARsU4mZAXtEBCgIRFEywYNj DOcs3DFkEju25NUUSAVwsHqD98WWVOEEVYcqc= MIME-Version: 1.0 Received: by 10.142.67.30 with SMTP id p30mr358180wfa.154.1272726713414; Sat, 01 May 2010 08:11:53 -0700 (PDT) Received: by 10.142.255.11 with HTTP; Sat, 1 May 2010 08:11:53 -0700 (PDT) Date: Sat, 1 May 2010 11:11:53 -0400 Message-ID: Subject: why do some failure spoils the jdbc connection ? From: =?ISO-8859-1?Q?Maxime_L=E9vesque?= To: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=001636e0a5e9a6336a048589c71d X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201005/4 X-Sequence-Number: 20488 --001636e0a5e9a6336a048589c71d Content-Type: text/plain; charset=ISO-8859-1 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 --001636e0a5e9a6336a048589c71d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0Hi everyone,

=A0When I execute some statements, for example d= roping a constraint and the constraint
doesn't exist, an exception g= ets thrown as expected. If I issue another statelemt
via the same connec= tion, I get another exception saying the transaction is canceled,
in other words, the connection is no longer useable.

=A0Is the re a = way that I can concinue using the connection ?

=A0Thanks
--001636e0a5e9a6336a048589c71d--