Re: Removing our datasource/pooling implementation. - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Removing our datasource/pooling implementation.
Date
Msg-id 41DDAE01.7030405@opencloud.com
Whole thread Raw
In response to Removing our datasource/pooling implementation.  (Kris Jurka <books@ejurka.com>)
Responses Re: Removing our datasource/pooling implementation.  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris Jurka wrote:

> Having received another report[1] of the lack of robustness of our pooling
> implementation I think we should scrap our datasource and pooling
> implementation. [...]

> Would anyone like to make a case for keeping our implementation around?

I use our plain DataSource and ConnectionPoolDataSource implementations.
Please keep them; the CPDS, especially, has scope to do driver-specific
work (consider RESET CONNECTION on proxy connection close()) that can't
be done at a higher level easily.

Dropping the "pooling" DataSource implementation is fine, dbcp fills
that role well by the sounds of it and there's no real reason it has to
be implemented by the driver.

-O

pgsql-jdbc by date:

Previous
From: "Barry Lind"
Date:
Subject: Re: Removing our datasource/pooling implementation.
Next
From: Sven Köhler
Date:
Subject: BLOBs etc