Re: commit and rollback don't throw exceptions when they should

Поиск
Список
Период
Сортировка
От taktos
Тема Re: commit and rollback don't throw exceptions when they should
Дата
Msg-id 4AE00316.8030107@gmail.com
обсуждение исходный текст
Ответ на Re: commit and rollback don't throw exceptions when they should  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: commit and rollback don't throw exceptions when they should
Список 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 по дате отправления:

Предыдущее
От: David Wall
Дата:
Сообщение: Re: JDBC with PG 8.4 bytea character escaping wire protocol
Следующее
От: Eric Jain
Дата:
Сообщение: Re: How to ensure that SSL is enabled?