Connection Pooling with Spring & Hibernate

后端 未结 5 1211
北海茫月
北海茫月 2021-02-09 00:14

How to configure connection pooling with Spring and Hibernate?

Thanks

Venu

5条回答
  •  天命终不由人
    2021-02-09 01:05

    If you're running in a web application container, use the built-in connection pooling of your container.

    Otherwise, use Apache DBCP: http://commons.apache.org/dbcp/

提交回复
热议问题