views:

148

answers:

0

My application runs on Sun Java Application server v8.1 and it connects to an 0racle(10g) DB using the application server's jdbc connection pool. The datasource class name used in the pool is 'oracle.jdbc.pool.OracleDataSource'. I have enabled connection caching and I want to use the 'TimeToLiveTimeout' property for this DataSource.'TimeToLiveTimeout' property and its value is set using the OracleDataSource's setConnectionCacheProperties(Properties prop) method. But I could not find a property in the pool that could set the ConnectionCacheProperties for this datasource. How can I configure this value in application server's connection pool?