transaction

<bean id="oracleDataSource" class="oracle.jdbc.pool.OracleDataSource">
<property name="URL" value="${jdbc.url}" />
<property name="user" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
<property name="implicitCachingEnabled" value="true" />
<property name="connectionCachingEnabled" value="true" />
<property name="connectionCacheProperties">
<props>
<prop key="MinLimit">${jdbc.connection.pool.min}</prop>
<prop key="MaxLimit">${jdbc.connection.pool.max}</prop>
<prop key="InactivityTimeout">${jdbc.connection.pool.inactivity.timeout}</prop>
<prop key="ValidateConnection">true</prop>
</props>
</property>
<property name="connectionProperties">
<props>
<prop key="oracle.jdbc.ReadTimeout">${oracle.readTimeout}</prop>
</props>
</property>
</bean>

posted on 2012-03-05 13:14  grep  阅读(335)  评论(0编辑  收藏  举报