Announcement Announcement Module
Collapse
No announcement yet.
JUnit testing Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    i have just tried resolving it using c3p0 pooling but no luck

    <!-- C3P0 pooled DataSource -->
    <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
    <property name="driverClass">
    <value>${jdbc.driverClassName}</value>
    </property>
    <property name="jdbcUrl">
    <value>${jdbc.url}</value>
    </property>
    <property name="properties">
    <props>
    <prop key="c3p0.acquire_increment">5</prop>
    <prop key="c3p0.idle_test_period">100</prop>
    <prop key="c3p0.max_size">100</prop>
    <prop key="c3p0.max_statements">0</prop>
    <prop key="c3p0.min_size">10</prop>
    <prop key="user">${jdbc.username}</prop>
    <prop key="password">${jdbc.password}</prop>
    </props>
    </property>
    </bean>

    Comment

    Working...
    X