From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: commit problem
Date: Thu, 25 Oct 2012 23:56:18 +0200
Message-ID: <k6ccgf$obv$1@ger.gmane.org> (raw)
In-Reply-To: <50899D43.80308@hogranch.com>
References: <50899D43.80308@hogranch.com>
John R Pierce wrote on 25.10.2012 22:12:
> my Java developers are telling me, the recent JDBC drivers are
> throwing an exception if they inadvertantly issue a commit() on an
> autocommit connection.
Just for the record:
Apparently there is no consensus on this behaviour (even though it's clearly required according to the JDBC specs)
MySQL, the jTDS driver for SQL Server and Firebird also throw an exeption in that case.
The Microsoft driver, DB2, Derby, h2 and HSQLDB do not throw an exception just like the Oracle driver.
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: spam_eater@gmx.net
Subject: Re: commit problem
In-Reply-To: <k6ccgf$obv$1@ger.gmane.org>
References: <50899D43.80308@hogranch.com> <k6ccgf$obv$1@ger.gmane.org>
* 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