| От | Craig Servin |
|---|---|
| Тема | Re: Totally weird behaviour in org.postgresql.Driver |
| Дата | |
| Msg-id | 200903121341.59498.cservin@cromagnon.com обсуждение |
| Ответ на | Re: Totally weird behaviour in org.postgresql.Driver ("Peter" <peter@greatnowhere.com>) |
| Список | pgsql-jdbc |
On Thursday 12 March 2009 08:22:53 am Peter wrote:
> Obiously I do not need to synchronize the method. the synchronized block
> inside it should work just fine. Was just grasping at straws there.
>
>
>
> I checked out dbcp and c3po (thanks for the pointers!) but none fits my app
> as each user needs to connect with his own credentials.
This was a problem for me as well. So, I made a factory for returning
connections from dbcp and made some adjustments to the connection returned
from the pool, so that our auditing triggers knew the application user that
was using the connection.
That way we could get the auditing and use a pool that has hopefully had the
bugs beaten out of if. But, that would not work in every situation.
C.
--
When I'm on my own I'm in bad company.
-- David Bowie
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера