Re: commit and rollback don't throw exceptions when they should - Mailing list pgsql-jdbc

From taktos
Subject Re: commit and rollback don't throw exceptions when they should
Date
Msg-id 4AE00316.8030107@gmail.com
Whole thread Raw
In response to Re: commit and rollback don't throw exceptions when they should  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: commit and rollback don't throw exceptions when they should
List pgsql-jdbc
I made a groovy code that tests whether Connection#commit() throws
excepton when connection has been closed.

http://github.com/taktos/JDBC-Driver-Test/blob/master/ConnectionTest.groovy

I tested in environment below:
Oracle 10g XE (ojdbc14.jar and ojdbc6.jar)
MySQL 5.1 (mysql-connector-java-5.1.10.jar)
h2database (h2-1.2.121.jar)
PostgreSQL 8.3 (postgresql-8.3.605.jdbc4.jar)

Drivers other than PosrgreSQL throws exception as I had expected, but
PostgreSQL didn't throw exception.

Regards,
takiguchi

pgsql-jdbc by date:

Previous
From: David Wall
Date:
Subject: Re: JDBC with PG 8.4 bytea character escaping wire protocol
Next
From: Eric Jain
Date:
Subject: Re: How to ensure that SSL is enabled?