Posted By

hkarakose on 02/28/11


apache configuration spring pool commons dbcp

Versions (?)

Spring-Apache Commons DBCP Pool Configuration

 / Published in: XML

  1. <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
  2. <property name="driverClassName" value="#[jdbc.driverClassName]"/>
  3. <property name="url" value="#[jdbc.url]"/>
  4. <property name="username" value="#[jdbc.username]"/>
  5. <property name="password" value="#[jdbc.password]"/>
  6. <property name="maxActive" value="100"/>
  7. <property name="maxWait" value="1000"/>
  8. <property name="poolPreparedStatements" value="true"/>
  9. </bean>

Report this snippet  

You need to login to post a comment.