A pooling DataSource
appropriate for deployment within J2EE environment. There are many configuration options, most of which are defined in the parent class. All users (based on username) share a single maximum number of Connections in this datasource.
User passwords can be changed without re-initializing the datasource. When a getConnection(username, password)
request is processed with a password that is different from those used to create connections in the pool associated with username
, an attempt is made to create a new connection using the supplied password and if this succeeds, idle connections created using the old password are destroyed and new connections are created using the new password.
@author John D. McNally
@version $Revision: 1572242 $ $Date: 2014-02-26 12:34:39 -0800 (Wed, 26 Feb 2014) $
@since 2.0