PGConnectionPoolDataSource referencing problem

Поиск
Список
Период
Сортировка
От Pawel Veselov
Тема PGConnectionPoolDataSource referencing problem
Дата
Msg-id CAMnJ+Bc2FGZ_4WjKzemWe4_yKgU=ZKd2o1YACVBGDOE__OEyBw@mail.gmail.com
обсуждение исходный текст
Ответы Re: PGConnectionPoolDataSource referencing problem
Список pgsql-jdbc
Hi.

I believe there may be a problem with referencing PGConnectionPoolDataSource in JNDI.
The "defaultAutoCommit" flag value is not persisted in the created reference object, so when reference is looked up, the flag remains at default (true) value.

I think to fix this, AbstractJdbc23ConnectionPoolDataSource should override getReference() method, and add the auto-commit flag as a additional reference address. And PGObjectFactory.loadConnectionPool() should restore the auto-commit flag from such reference address.

Thank you,
  Pawel.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: BUG org.postgresql.Driver.connect() distorts InterruptedException
Следующее
От: John R Pierce
Дата:
Сообщение: Re: PGConnectionPoolDataSource referencing problem