Java JDBC connection pool library choice in 2011/2012?

后端 未结 4 2120
日久生厌
日久生厌 2020-11-28 02:17

Which JDBC connection pool library should I use for a new application project (not web application)?

  • Apache DBCP has enough unresolved issues which are pushed
4条回答
  •  醉话见心
    2020-11-28 02:33

    Another alternative is Vibur DBCP. This is a new, concurrent JDBC connection pool based on Java dynamic proxies. It is fast, has concise source code, supports fairness parameter, JDBC Statement caching, long running SQL queries logging, and many other features.

    Vibur DBCP is available in the central Maven repo, the website shows the needed Maven dependency, various configuration examples (with Spring, Hibernate 3.x/4.x/5.x), and all configuration options.

    Vibur DBCP requires Java 1.7.

    Disclaimer: I'm the author of Vibur DBCP.

提交回复
热议问题