Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

AutoCommit and SQLException


  • From: "Antony Paul" <antonypaul24(at)hotmail(dot)com>
  • To: "pgsql-jdbc" <pgsql-jdbc(at)postgresql(dot)org>
  • Subject: AutoCommit and SQLException
  • Date: Mon, 30 Aug 2004 16:26:23 +0530
  • Message-id: <BAY15-DAV15d2DpZtYo00029474@hotmail.com> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group