A class offering Factory methods for creating DataSources backed
by Connection and Statement Pools.
Encapsulates all the configuration information required by a c3p0 pooled DataSource.
Most clients need never use or know about this interface -- c3p0 pooled DataSources
can be treated like any other DataSource.
The functionality in this interface will be only be of interest if 1) for administrative
reasons you like to keep close track of the number and status of all Connections your application
is using; 2) to work around problems encountered while managing a DataSource whose clients are
poorly coded applications that leak Connections, but which you are not permitted to fix;
or 3) to work around problems that may occur if an underlying jdbc driver / DBMS system is
unreliable.
Creates a pooled version of an unpooled DataSource using default configuration information.
Creates a pooled version of an unpooled DataSource using configuration
information supplied explicitly by a
PoolConfig
.
Creates a pooled version of an unpooled DataSource using default configuration information
and the specified startement cache size.
Creates a pooled version of an unpooled DataSource using configuration
information supplied explicitly by a Java Properties object.