mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
set the validationQuery while testWhileIdle is true (#1827)
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
<property name="testOnBorrow" value="false" />
|
||||
<property name="testOnReturn" value="false" />
|
||||
<property name="useUnfairLock" value="true" />
|
||||
<property name="validationQuery" value="SELECT 1" />
|
||||
</bean>
|
||||
|
||||
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
|
||||
|
||||
Reference in New Issue
Block a user