Re: Re: connection pooling in JDBC driver - Mailing list pgsql-jdbc

From Richard Bullington-McGuire
Subject Re: Re: connection pooling in JDBC driver
Date
Msg-id Pine.LNX.4.31.0103090919550.17142-100000@polymorphic.microstate.com
Whole thread Raw
In response to Re: Re: connection pooling in JDBC driver  (Gunnar R|nning <gunnar@candleweb.no>)
List 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 by date:

Previous
From: Gunnar R|nning
Date:
Subject: Re: Re: connection pooling in JDBC driver
Next
From: Alberto Otero García
Date:
Subject: DatabaseMetaData and ResultSetMetaData