Roller Test

Description of this website

Wednesday Dec 17, 2008

Testing 1, 2, 3

How about some XML ? 

 

 <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="${jdbc.driverClassName}"/>
        <property name="url" value="${jdbc.url}"/>
        <property name="username" value="${jdbc.username}"/>
        <property name="password" value="${jdbc.password}"/>
        <property name="maxActive" value="100"/>
        <property name="maxWait" value="1000"/>
        <property name="poolPreparedStatements" value="true"/>
        <property name="defaultAutoCommit" value="true"/>
        <!-- See http://commons.apache.org/dbcp/configuration.html -->
        <!-- Validation parameters that check pool connections before using -->
        <!-- MySQL can keep connections around for a long time - this will -->
        <!-- help ensure we dont get stale ones -->
        <property name="validationQuery" value="SELECT 1"/>
        <property name="testWhileIdle" value="true"/>
        <property name="testOnBorrow" value="true"/>
        <property name="testOnReturn" value="true"/>
    </bean>