commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DBCP-283) Overwrite DriverManagerConnectionFactory and context.xml JNDI Resource
Date Sun, 15 Mar 2009 22:28:50 GMT

     [ https://issues.apache.org/jira/browse/DBCP-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Thomas resolved DBCP-283.
------------------------------

    Resolution: Invalid

This is a question for the Tomcat users list.

> Overwrite DriverManagerConnectionFactory  and context.xml  JNDI Resource
> ------------------------------------------------------------------------
>
>                 Key: DBCP-283
>                 URL: https://issues.apache.org/jira/browse/DBCP-283
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Dmitry Savenko
>
> this code gives flexibility to overwrite DriverManagerConnectionFactory with my own implementation
(MyFactory extends DriverManagerConnectionFactory  ...)
>    1. GenericObjectPool connectionPool = new GenericObjectPool(null);  
>    2. ConnectionFactory connectionFactory = new MyFactory ("jdbc:some:connect:string",
"username", "password");  
>    3. PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory,connectionPool,null,null,false,true);
 
>    4. PoolingDataSource dataSource = new PoolingDataSource(connectionPool);      
> How configure my web app to use tomcat's connection pooling with MyFactory class? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message