This content has been marked as final.
Show 1 reply
-
1. Re: JBPM and Connection Pooling
fady.matar Jul 23, 2007 7:44 AM (in response to drashmi)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