Follow this Spring configuration recipe for integrating BoneCP into your application. This is an example of how to fetch a JDBC connection directly for use via Spring (i.e. dealing with the datasource yourself).
java 向mysql 插入记录,用bonecp 多线程并行插入记录 用acer 3750g测试结果500-600条/秒/每张表,台式机更快一些约800条/秒/每张表,分析用的SQL语句 select max(num),min(num),avg(num) from ( select count(*) num, evt_time from level2faulttxt where evt_time > (select min(evt_time) from level2faulttxt) a