Encapsulates all the configuration information required by a c3p0 pooled DataSource.
Newly constructed PoolConfig objects are preset with default values, which you can define yourself (see below), or you can rely on c3p0's built-in defaults. Just create a PoolConfig object, and change only the properties you care about. Then pass it to the {@link com.mchange.v2.c3p0.DataSources#pooledDataSource(javax.sql.DataSource,com.mchange.v2.c3p0.PoolConfig)}method, and you're off!
For those interested in the details, configuration properties can be specified in several ways:
Please see c3p0's main documentation for a description of all available parameters.
@deprecated as of c3p0-0.9.1. To manipulate config programmaticall, please use ComboPooledDataSource Setters return this
for convenient method chaining.
@author whoschek.AT.lbl.DOT.gov
@author $Author: hoschek3 $
@version $Revision: 1.12 $, $Date: 2005/12/10 01:05:49 $
|
|