Re: commit problem - Mailing list pgsql-jdbc

From Thomas Kellerer
Subject Re: commit problem
Date
Msg-id k6ccgf$obv$1@ger.gmane.org
Whole thread Raw
In response to commit problem  (John R Pierce <pierce@hogranch.com>)
List pgsql-jdbc
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.


pgsql-jdbc by date:

Previous
From: John R Pierce
Date:
Subject: Re: commit problem
Next
From: Thomas Kellerer
Date:
Subject: Re: commit problem