Anyone using Jakarta Commons DBCP?

Discussion in 'Java' started by GaryM, Dec 31, 2003.

  1. GaryM

    GaryM Guest

    I implemented the PoolableDriver method of connection pooling. I was
    wanting to configure timesouts and max / min idle connections. I
    cannot see how this can be accomplished. The page

    http://jakarta.apache.org/commons/dbcp/configuration.html

    lists alot of parameters, but does not specify to which classes
    apply (or it's not obvious to me).

    I did noticed the BasicDatasource class

    http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html

    has all the required parameters, but does this mean I need to
    implement the pool as a PoolableDatasource in order to change the
    default parameters?

    Any advice would be appreciated.
     
    GaryM, Dec 31, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. FGB

    Jakarta Commons CLI

    FGB, Aug 6, 2003, in forum: Java
    Replies:
    0
    Views:
    572
  2. Joshua
    Replies:
    0
    Views:
    581
    Joshua
    Oct 20, 2004
  3. Replies:
    0
    Views:
    414
  4. gbattine

    DBCP Jakarta Project...

    gbattine, Jul 4, 2006, in forum: Java
    Replies:
    2
    Views:
    542
  5. Pablo
    Replies:
    2
    Views:
    435
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Nov 21, 2006
Loading...

Share This Page