DataSource for non-transactional JDBC pools. This handles configuration
parameters for both the pool and the JDBC driver. It is important that you
set all the configuration parameters before you initialize the DataSource,
and you must initialize it before you use it. All the configuration
parameters are not documented here; you are instead referred to ObjectPool
and JDBCConnectionFactory.
See Also:org.ofbiz.minerva.pool.ObjectPool See Also:org.ofbiz.minerva.pool.jdbc.JDBCConnectionFactory author: Aaron Mulder (ammulder@alumni.princeton.edu)
Gets a connection from the pool. If a new connection must be
created, it will use the specified user name and password. If there is
a connection available in the pool, it will be used, regardless of the
user name and password use to created it initially.
If you use this to set a JNDI name, this pool will be bound to that name
using the default InitialContext. You can also do this manually if you
have additional requirements.