On 10/8/15 12:00 PM, Pruitt, Byron S wrote: > The BasicDataSource class has methods for setting some validation policies > > getTestOnBorrow()) > getTestOnCreate()) > getTestOnReturn()) > getTestWhileIdle()) > > How are these invoked programmatically? I started with the > PoolingDataSourceExample code and nothing created can set those.
To use those properties, you need to instantiate a BasicDataSource, which wraps a PoolingDataSource. Phil > > Thanks. > > -SP > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
