This content has been marked as final. Show 1 reply
Your question is related to hibernate directly and has nothing to do with jBPM.
However to configure the DBCP connection pooling you need to specify the following properties in hibernate.cfg.xml
<!-- DBCP connection pooling options --> <property name="hibernate.dbcp.maxWait">3000</property> <property name="hibernate.dbcp.maxIdle">100</property> <property name="hibernate.dbcp.maxActive">10</property> <property name="hibernate.dbcp.autoReconnectForPool">true</property> <property name="hibernate.dbcp.autoReconnect">true</property>
Consult the documentation of DBCP, I remember it was pretty well documented when I used it a while ago