From: Antony Paul <antonypaul24@hotmail.com>
To: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: AutoCommit and SQLException
Date: Mon, 30 Aug 2004 16:26:23 +0530
Message-ID: <BAY15-DAV15d2DpZtYo00029474@hotmail.com> (raw)
Hi all,
What happens to transaction when an SQL exception is thrown while it is
in a transaction. Does the connection automatically rollbacks the
transactions or we have to roll back it ?. I am using PreparedStatements and
Statements and no stored procedures.
Is there any specification for the behaviour of connection pools ?.
rgds
Antony Paul
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: antonypaul24@hotmail.com
Subject: Re: AutoCommit and SQLException
In-Reply-To: <BAY15-DAV15d2DpZtYo00029474@hotmail.com>
References: <BAY15-DAV15d2DpZtYo00029474@hotmail.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