DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28912>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28912 Connection re-use conflates logical and physical connections ------- Additional Comments From [EMAIL PROTECTED] 2004-05-12 19:12 ------- Pretty much copying out one of the examples, but I'm using driver, not data source: ObjectPool connectionPool = new GenericObjectPool(null); ConnectionFactory connectionFactory = new DriverManagerConnectionFactory(dbc.getURL(), props); new PoolableConnectionFactory(connectionFactory, connectionPool, null, null, false, true); Class.forName("org.apache.commons.dbcp.PoolingDriver"); String poolURLBase = "jdbc:apache:commons:dbcp:"; PoolingDriver driver = (PoolingDriver) DriverManager.getDriver(poolURLBase); driver.registerPool(poolName, connectionPool); dbc.setPoolURL(poolURLBase + poolName); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
