摘要: C3PO数据库连接池优点:性能比较dbcp好,稳定性也比dbcp强将C3po跟spring整合1.导入c3p0-0.9.1.2.jar,commons-logging-1.1.1.jar,spring-2.5.6.jar2.在applicationContext.xml中配置,用C3PO配置好的数据源<beanid="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> <property name= 阅读全文
posted @ 2011-12-21 11:11 李飞鹏 阅读(2781) 评论(0) 推荐(0) 编辑