Re: Re: connection pooling in JDBC driver

Поиск
Список
Период
Сортировка
От Richard Bullington-McGuire
Тема Re: Re: connection pooling in JDBC driver
Дата
Msg-id Pine.LNX.4.31.0103090919550.17142-100000@polymorphic.microstate.com
обсуждение исходный текст
Ответ на Re: Re: connection pooling in JDBC driver  (Gunnar R|nning <gunnar@candleweb.no>)
Список pgsql-jdbc
On 9 Mar 2001, Gunnar R|nning wrote:

> [snip] Of course your milage may vary, but this is not really a pgsql
> related question... ;-D Unless of course we are talking about implementing
> pooling for the DataSource class, but that is somewhat unrelated as well...

That's something that I'm a bit confused about -- there is very little
documentation on the DataSource class in the sources. One comment in
particular confuses me:

    /**
     * This is a pool of free underlying JDBC connections. If two
     * XA connections are used in the same transaction, the second
     * one will make its underlying JDBC connection available to
     * the pool. This is not a real connection pool, only a marginal
     * efficiency solution for dealing with shared transactions.
     */

This is not a real connection pool?

It seems to me that the JavaDoc for this class should be expanded to
explain more just what kind of pool it provides.

 --
 Richard Bullington-McGuire  <rbulling@microstate.com>
 Chief Technology Officer, The Microstate Corporation
 Phone: 703-796-6446  URL: http://www.microstate.com/
 PGP key IDs:    RSA: 0x93862305   DH/DSS: 0xDAC3028E




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

Предыдущее
От: Gunnar R|nning
Дата:
Сообщение: Re: Re: connection pooling in JDBC driver
Следующее
От: Alberto Otero García
Дата:
Сообщение: DatabaseMetaData and ResultSetMetaData