Is DBCP (Apache Commons Database Connection Pooling) still relevant?

前端 未结 4 462
Happy的楠姐
Happy的楠姐 2020-12-08 22:42

The JDBC 3.0 spec talks about Connection (and Prepared Statement) pooling.

We have several standalone Java programs (i.e. we are not using an application server) tha

4条回答
  •  时光说笑
    2020-12-08 23:04

    People still use DBCP, I think it even comes as a default with Hibernate.

    Is DBCP not meeting your current needs?

    I'm not a big believer in replacing infrastructure unless there's already a performance or functionality gap that it can't fill, even if there are newer or fancier alternatives around.

提交回复
热议问题