Re: commit problem

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: commit problem
Date: 2012-10-25 21:56:18
Message-ID: k6ccgf$obv$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Grittner 2012-10-25 22:04:31 Re: commit problem
Previous Message John R Pierce 2012-10-25 21:48:10 Re: commit problem